# 애플리케이션 생명주기 (Flutter) > AppLifecycleState, WidgetsBindingObserver, 백그라운드/포그라운드, 앱 종료 - 20 면접 질문 - Junior - [면접 질문: Flutter](https://sharpskill.dev/ko/technologies/flutter/interview-questions.md) ## 1. Flutter 앱의 생명주기 상태 변화를 관찰하려면 어떤 mixin을 사용해야 하나요? **답변** WidgetsBindingObserver는 앱의 생명주기 상태 변화를 관찰하기 위한 Flutter 공식 mixin입니다. State 클래스에 추가하고 initState에서 WidgetsBinding.instance.addObserver로 옵저버를 등록한 다음, dispose에서 제거해야 합니다. ## 2. 앱의 생명주기 상태가 변경될 때 호출되는 WidgetsBindingObserver 메서드는 무엇인가요? **답변** didChangeAppLifecycleState 메서드는 앱의 생명주기 상태가 변경될 때마다 호출됩니다. 애플리케이션의 새로운 상태(resumed, inactive, paused, detached, hidden)를 나타내는 AppLifecycleState 매개변수를 받습니다. ## 3. 앱이 화면에 보이고 사용자 입력에 응답하고 있음을 나타내는 AppLifecycleState는 무엇인가요? **답변** resumed 상태는 앱이 화면에 보이고 포그라운드에 있으며 사용자 입력에 응답하고 있음을 나타냅니다. 이는 사용자가 애플리케이션과 적극적으로 상호작용하는 정상적인 작동 상태입니다. ## 17개 추가 질문 이용 가능 - iOS에서 AppLifecycleState.inactive 상태는 언제 발생하나요? - 앱이 더 이상 사용자에게 보이지 않음을 나타내는 AppLifecycleState는 무엇인가요? 무료로 가입하기: https://sharpskill.dev/ko/login ## 기타 Flutter 면접 주제 - [Dart 기초](https://sharpskill.dev/ko/technologies/flutter/interview-questions/dart-basics.md): 25개 질문, Junior - [Dart 언어 핵심](https://sharpskill.dev/ko/technologies/flutter/interview-questions/dart-language-essentials.md): 15개 질문, Junior - [Flutter 기초](https://sharpskill.dev/ko/technologies/flutter/interview-questions/flutter-fundamentals.md): 18개 질문, Junior - [위젯 생명주기](https://sharpskill.dev/ko/technologies/flutter/interview-questions/widget-lifecycle.md): 20개 질문, Junior - [로컬 스토리지](https://sharpskill.dev/ko/technologies/flutter/interview-questions/local-storage.md): 20개 질문, Junior - [Layouts & Constraints](https://sharpskill.dev/ko/technologies/flutter/interview-questions/layouts-constraints.md): 24개 질문, Mid-Level - [ListView & GridView](https://sharpskill.dev/ko/technologies/flutter/interview-questions/listview-gridview.md): 25개 질문, Mid-Level - [내비게이션 및 라우팅](https://sharpskill.dev/ko/technologies/flutter/interview-questions/navigation-routing.md): 22개 질문, Mid-Level - [기본 상태 관리](https://sharpskill.dev/ko/technologies/flutter/interview-questions/state-management-basics.md): 22개 질문, Mid-Level - [Provider 패턴](https://sharpskill.dev/ko/technologies/flutter/interview-questions/provider-pattern.md): 18개 질문, Mid-Level - [Networking & HTTP](https://sharpskill.dev/ko/technologies/flutter/interview-questions/networking-http.md): 20개 질문, Mid-Level - [JSON 직렬화](https://sharpskill.dev/ko/technologies/flutter/interview-questions/json-serialization.md): 20개 질문, Mid-Level - [로컬 데이터베이스](https://sharpskill.dev/ko/technologies/flutter/interview-questions/local-database.md): 22개 질문, Mid-Level - [폼과 유효성 검사](https://sharpskill.dev/ko/technologies/flutter/interview-questions/forms-validation.md): 20개 질문, Mid-Level - [애니메이션](https://sharpskill.dev/ko/technologies/flutter/interview-questions/animations.md): 20개 질문, Mid-Level - [Firebase 통합](https://sharpskill.dev/ko/technologies/flutter/interview-questions/firebase-integration.md): 18개 질문, Mid-Level - [유닛 테스트](https://sharpskill.dev/ko/technologies/flutter/interview-questions/unit-testing.md): 20개 질문, Mid-Level - [위젯 테스트](https://sharpskill.dev/ko/technologies/flutter/interview-questions/widget-testing.md): 18개 질문, Mid-Level - [빌드 및 배포](https://sharpskill.dev/ko/technologies/flutter/interview-questions/build-deployment.md): 16개 질문, Mid-Level - [패키지 관리](https://sharpskill.dev/ko/technologies/flutter/interview-questions/package-management.md): 16개 질문, Mid-Level - [메모리 및 성능](https://sharpskill.dev/ko/technologies/flutter/interview-questions/memory-performance.md): 22개 질문, Senior - [Streams & RxDart](https://sharpskill.dev/ko/technologies/flutter/interview-questions/streams-rxdart.md): 24개 질문, Senior - [고급 State Management](https://sharpskill.dev/ko/technologies/flutter/interview-questions/advanced-state-management.md): 26개 질문, Senior - [Flutter Design Patterns](https://sharpskill.dev/ko/technologies/flutter/interview-questions/flutter-design-patterns.md): 24개 질문, Senior - [성능 최적화](https://sharpskill.dev/ko/technologies/flutter/interview-questions/performance-optimization.md): 26개 질문, Senior - [Platform Channels](https://sharpskill.dev/ko/technologies/flutter/interview-questions/platform-channels.md): 20개 질문, Senior - [Custom Painting](https://sharpskill.dev/ko/technologies/flutter/interview-questions/custom-painting.md): 22개 질문, Senior - [Flutter 애플리케이션 아키텍처](https://sharpskill.dev/ko/technologies/flutter/interview-questions/flutter-app-architecture.md): 22개 질문, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/ko/technologies/flutter/interview-questions/app-lifecycle