package Ġio . android al atan . lifecycle . handler . compose . activity Ċ Ċ import Ġandroid . annotation . Suppress Lint Ċ import Ġandroid . content . Intent Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . activity . compose . setContent Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroidx . compose . runtime . Composable Ċ import Ġandroidx . compose . runtime . Composition Local Provider Ċ import Ġandroidx . compose . ui . Experimental Compose Ui Api Ċ import Ġandroidx . compose . ui . platform . Local Software Keyboard Controller Ċ import Ġandroidx . fragment . app . Fragment Activity Ċ import Ġio . android al atan . back key . handler . Activity Back Key Observer Ċ import Ġio . android al atan . back key . handler . Back Key Handler Stream Impl Ċ import Ġio . android al atan . back key . handler . api . Back Key Handler Stream Ċ import Ġio . android al atan . bundle . collector . Bundle Collector Stream Impl Ċ import Ġio . android al atan . bundle . Bundle Data Impl Ċ import Ġio . android al atan . bundle . Intent Data Impl Ċ import Ġio . android al atan . bundle . collector . api . Bundle Collector Stream Ċ import Ġio . android al atan . component . view . compose . Compose Keyboard Controller Impl Ċ import Ġio . android al atan . component . view . compose . Compose View Interaction Trigger Impl Ċ import Ġio . android al atan . component . view . compose . api . Compose Keyboard Controller Ċ import Ġio . android al atan . compose . dialog . Compose AlertDialog BuilderFactory Impl Ċ import Ġio . android al atan . compose . dialog . api . Compose AlertDialog BuilderFactory Ċ import Ġio . android al atan . compose . holder . lifecycle . activ ator . Lifecycle Activator Ċ import Ġio . android al atan . coroutine . dispatcher . api . Dispatcher Provider Ċ import Ġio . android al atan . lifecycle . handler . activity . Lifecycle Notifier Impl Ċ import Ġio . android al atan . lifecycle . handler . api . Lifecycle Listener Ċ import Ġio . android al atan . lifecycle . handler . api . Lifecycle Notifier Ċ import Ġio . android al atan . lifecycle . handler . api . Lifecycle Source Ċ import Ġio . android al atan . lifecycle . handler . compose . activity . local owners . Local Compose Event Trigger Owner Ċ import Ġio . android al atan . lifecycle . handler . compose . activity . local owners . Local Compose Keyboard Controller Owner Ċ import Ġio . android al atan . lifecycle . handler . compose . util . Local Lifecycle Notifier Owner Ċ import Ġio . android al atan . lifecycle . handler . internal . invoke . Async Invoker Manager Ċ import Ġio . android al atan . lifecycle . handler . internal . invoke . Invoker ManagerImpl Ċ import Ġio . android al atan . lifecycle . handler . internal . invoke . Sync Invoker Manager Ċ import Ġio . android al atan . lifecycle . handler . internal . invoke . coroutine . Coroutine Invoker ManagerImpl Ċ import Ġio . android al atan . lifecycle . handler . inv oker adapter . api . Invoke Adapter Initializer Ċ import Ġio . android al atan . lifecycle . lazy provider . Lazy Provider Ċ import Ġio . android al atan . request . permission . Permission Explanation BuilderFactory Impl Ċ import Ġio . android al atan . request . permission . Permission Invoker Impl Ċ import Ġio . android al atan . request . permission . Permission Stream Impl Ċ import Ġio . android al atan . request . permission . api . Permission Stream Ċ import Ġio . android al atan . result . handler . Result Stream Impl Ċ import Ġio . android al atan . result . handler . api . Result Stream Ċ import Ġio . android al atan . router . Activity Router Ċ import Ġio . android al atan . router . api . Router Ċ import Ġio . android al atan . view . event . api . View Interaction Stream Ċ import Ġio . android al atan . view . event . compose . View Interaction Controller Impl Ċ import Ġio . android al atan . view . event . impl . View Interaction Stream Impl Ċ Ċ abstract Ġclass ĠCompose Lifecycle Activity Ġprivate Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġlazy Provider : ĠLazy Provider < Fragment Activity >, ĊĠĠĠ Ġprivate Ġval Ġbundle Collector Stream : ĠBundle Collector Stream Impl Ġ= ĠBundle Collector Stream Impl (), ĊĠĠĠ Ġprivate Ġval Ġresult Stream : ĠResult Stream Impl Ġ= ĠResult Stream Impl (), ĊĠĠĠ Ġprivate Ġval Ġactivity Router : ĠActivity Router Ġ= ĠActivity Router ( lazy Provider ), ĊĠĠĠ Ġprivate Ġval Ġpermission Stream : ĠPermission Stream Impl Ġ= ĠPermission Stream Impl ( ĊĠĠĠĠĠĠĠ ĠPermission Invoker Impl ( lazy Provider ), ĊĠĠĠĠĠĠĠ ĠPermission Explanation BuilderFactory Impl ( lazy Provider ) ĊĠĠĠ Ġ), ĊĠĠĠ Ġprivate Ġval Ġback Key Handler Stream Impl : ĠBack Key Handler Stream Impl Ġ= ĠBack Key Handler Stream Impl (), ĊĠĠĠ Ġprivate Ġval Ġcompose Keyboard Controller : ĠCompose Keyboard Controller Impl Ġ= ĠCompose Keyboard Controller Impl (), ĊĠĠĠ Ġprivate Ġval Ġview Interaction Stream : ĠView Interaction Stream Impl Ġ= ĠView Interaction Stream Impl (), Ċ ) Ġ: ĠAppCompatActivity (), ĠLifecycle Source , ĊĠĠĠ ĠBundle Collector Stream Ġby Ġbundle Collector Stream , ĊĠĠĠ ĠResult Stream Ġby Ġresult Stream , ĊĠĠĠ ĠRouter Ġby Ġactivity Router , ĊĠĠĠ ĠPermission Stream Ġby Ġpermission Stream , ĊĠĠĠ ĠBack Key Handler Stream Ġby Ġback Key Handler Stream Impl , ĊĠĠĠ ĠView Interaction Stream Ġby Ġview Interaction Stream Ġ{ ĊĊĠĠĠ Ġconstructor () Ġ: Ġthis ( Lazy Provider < Fragment Activity >()) ĊĊĠĠĠ Ġprivate Ġval Ġinvoke Manager Ġ= ĠInv oker ManagerImpl ( ĊĠĠĠĠĠĠĠ Ġsync Invoker Manager Ġ= ĠSync Invoker Manager ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcoroutine Invoker Manager Ġ= ĠCor outine Invoker ManagerImpl ( Dispatcher Provider ()) ĊĠĠĠĠĠĠĠ Ġ), ĊĠĠĠĠĠĠĠ Ġasync Invoker Manager Ġ= ĠAsync Invoker Manager ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġparameter Instances Ġ= Ġmap Of ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠResult Stream :: class . java Ġto Ġresult Stream , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠPermission Stream :: class . java Ġto Ġpermission Stream , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠBundle Collector Stream :: class . java Ġto Ġbundle Collector Stream , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠRouter :: class . java Ġto Ġactivity Router , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠBack Key Handler Stream :: class . java Ġto Ġback Key Handler Stream Impl , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠCompose Keyboard Controller :: class . java Ġto Ġcompose Keyboard Controller , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠView Interaction Stream :: class . java Ġto Ġview Interaction Stream , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġinvoke Adapters Ġ= Ġkotlin . run Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġtemp Lifecycle Ġ= Ġlifecycle ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġtemp Logger Ġ= ĠInvoke Adapter Initializer . logger () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠInvoke Adapter Initializer . factories () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. map Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġit . create ( temp Lifecycle , Ġtemp Logger ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ) ĊĊĠĠĠ Ġval Ġcompose AlertDialog BuilderFactory : ĠCompose AlertDialog BuilderFactory Ġ= ĠCompose AlertDialog BuilderFactory Impl () ĊĊĠĠĠ Ġprivate Ġval Ġlifecycle Notifier : ĠLifecycle Notifier Ġ= ĠLifecycle Notifier Impl ( invoke Manager ) ĊĊĠĠĠ Ġprivate Ġval Ġcompose View Interaction Trigger Ġ= ĠCompose View Interaction Trigger Impl () ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠIf Ġyour Ġactivity Ġneeds Ġto Ġregister Ġlistener Ġdynamically , Ġe . g ) ĠTab , Ġyou Ġshould Ġnot Ġoverride Ġthis Ġor Ġkeep Ġthis Ġfalse ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġprotected Ġopen Ġval Ġactivate All Listeners When Init : ĠBoolean Ġ= Ġfalse ĊĊĠĠĠ Ġprivate Ġval Ġlifecycle Activator Ġ= ĠLifecycle Activator () ĊĊĠĠĠ Ġ@ Opt In ( Experimental Compose Ui Api :: class ) ĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġlazy Provider . set ( this ) ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġview Interaction Stream . set ViewController ( View Interaction Controller Impl ( compose View Interaction Trigger )) ĊĠĠĠĠĠĠĠ Ġback Key Handler Stream Impl . set Back Key Observer ( Activity Back Key Observer ( this )) ĊĊĠĠĠĠĠĠĠ Ġval Ġactivity Intent Ġ= Ġintent Ġ?: ĠIntent () ĊĠĠĠĠĠĠĠ Ġval Ġbundle Ġ= ĠBundle () ĊĠĠĠĠĠĠĠ Ġactivity Intent . extras ?. let Ġ{ Ġbundle . put All ( it ) Ġ} ĊĠĠĠĠĠĠĠ ĠsavedInstanceState ?. let Ġ{ Ġbundle . put All ( it ) Ġ} Ġ// Ġlet Ġsaved Instance Ġoverride Ġbundle ĊĠĠĠĠĠĠĠ Ġbundle Collector Stream . update Intent ( Intent Data Impl ( activity Intent , ĠBundle Data Impl ( bundle ))) ĊĊĠĠĠĠĠĠĠ Ġset Content Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠLocal Software Keyboard Controller . current ?. let Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcompose Keyboard Controller . set Keyboard Controller ( it ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠĠĠĠĠ ĠComp osition Local Provider ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠLocal Compose Event Trigger Owner Ġprovides Ġcompose View Interaction Trigger , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠLocal Lifecycle Notifier Owner Ġprovides Ġlifecycle Notifier , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠLocal Compose Keyboard Controller Owner Ġprovides Ġcompose Keyboard Controller ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠLifecycle Handle Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ( compose AlertDialog BuilderFactory Ġas ĠCompose AlertDialog BuilderFactory Impl ). activate () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġlifecycle Activator . activate All IfNeeded ( activate All Listeners When Init ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcontent View () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Suppress Lint (" Composable Naming ") ĊĠĠĠ Ġ@ Composable ĊĠĠĠ Ġabstract Ġfun Ġcontent View () ĊĊĠĠĠ Ġoverride Ġfun Ġon New Intent ( intent : ĠIntent ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on New Intent ( intent ) ĊĠĠĠĠĠĠĠ Ġif Ġ( intent Ġ!= Ġnull ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġmerged Bundle Ġ= ĠBundle () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmerged Bundle . put All ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġbundle Collector Stream . getCurrent Bundle () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. raw Bundle () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġintent . extras . let Ġ{ Ġmerged Bundle . put All ( it ) Ġ} Ġ// Ġlet Ġnew Intent Ġoverride Ġbundle ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbundle Collector Stream . update Intent ( Intent Data Impl ( intent , ĠBundle Data Impl ( merged Bundle ))) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Save InstanceState ( out State : ĠBundle ) Ġ{ ĊĠĠĠĠĠĠĠ Ġ( bundle Collector Stream . getCurrent Bundle () Ġas ? ĠBundle Data Impl ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ? . raw Bundle () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ? . let Ġ{ Ġout State . put All ( it ) Ġ} ĊĠĠĠĠĠĠĠ Ġsuper . on Save InstanceState ( out State ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Activity Result ( request Code : ĠInt , ĠresultCode : ĠInt , Ġdata : ĠIntent ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Activity Result ( request Code , ĠresultCode , Ġdata ) ĊĠĠĠĠĠĠĠ Ġresult Stream . new Result Info ( request Code , ĠresultCode , Ġdata ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Request Permissions Result ( request Code : ĠInt , Ġpermissions : ĠArray < String >, Ġgrant Results : ĠInt Array ) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Request Permissions Result ( request Code , Ġpermissions , Ġgrant Results ) ĊĠĠĠĠĠĠĠ Ġpermission Stream . on Result ( request Code , Ġpermissions , Ġgrant Results ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġadd ( listener : ĠLifecycle Listener ) Ġ{ ĊĠĠĠĠĠĠĠ Ġlifecycle Activator . add ( listener ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġremove ( listener : ĠLifecycle Listener ) Ġ{ ĊĠĠĠĠĠĠĠ Ġlifecycle Activator . remove ( listener ) ĊĠĠĠ Ġ} Ċ }