Android 공식문서
-
Test your app's activitesAndroid 공식문서 2020. 10. 27. 08:54
Activities serve as containers for every user interaction within your app, so it's important to test how your app's activities behave during device-level events, such as the following: 액티비티는 앱 내의 모든 사용자 상호 작용에 대한 컨테이너 역할을 하므로 다음과 같은 기기 수준 이벤트 중에 앱의 액티비티가 어떻게 작동하는지 테스트 하는 것이 중요합니다. Another app, such as the device's phone app, interrupts your app's activity. The system destroys and recreates your ..
-
Handle Activity State ChangesAndroid 공식문서 2020. 10. 22. 15:06
Different events, some user-triggered and some system-triggered, can cause an Activity to transition from one state to another. This document describes some common cases in which such transitions happen, and how to handle those transitions. 몇몇 사용자가 트리거하고 몇몇은 시스템이 트리거하는 다른 이벤트로 인해 액티비티가 한 상태에서 다른 상태로 전환 될 수 있습니다. 이 문서에서는 이런 전환이 발생하는 몇 가지 일반적인 사례와 이런 전환을 처리하는 방법을 설명합니다. For more information about ..
-
Understand the Activity LifecycleAndroid 공식문서 2020. 10. 16. 17:23
As a user navigates through, out of, and back to your app, the Activity instances in your app transition through different states in their lifecycle. The Activity class provides a number of callbacks that allow the activity to know that a state has changed: that the system is creating, stopping, or resuming an activity, or destroying the process in which the activity resides. 사용자가 앱을 탐색하고, 그리고 앱..
-
Introduction to ActivitiesAndroid 공식문서 2020. 9. 22. 17:27
The Activity class is a crucial component of an Android app, and the way activities are launched and put together is a fundamental part of the platform's application model. Unlike programming paradigms in which apps are launched with a main() method, the Android system initiates code in an Activity instance by invoking specific callback methods that correspond to specific stages of its lifecycle..
-
Fragment - OverViewAndroid 공식문서 2020. 9. 11. 15:39
A Fragment represents a behavior or a portion of user interface in a FragmentActivity. You can combine multiple fragments in a single activity to build a multi-pane UI and reuse a fragment in multiple activities. You can think of a fragment as a modular section of an activity, which has its own lifecycle, receives its own input events, and which you can add or remove while the activity is runnin..