com.hedgehog.gdzietabiedra / MainActivity

MainActivity

class MainActivity : RibActivity (source)

Only android.app.Activity in this app. Its used only to start RIBs and provide it’s dependencies

Constructors

Name Summary
<init> MainActivity()
Only android.app.Activity in this app. Its used only to start RIBs and provide it’s dependencies

Properties

Name Summary
analytics lateinit var analytics: Analytics
locationWatchdog lateinit var locationWatchdog: LocationWatchdog
shopService lateinit var shopService: ShopService

Functions

Name Summary
createRouter fun createRouter(parentViewGroup: ViewGroup): ViewRouter<*, *, *>
Builds Root RIB and provides dependencies from MainActivity
onCreate fun onCreate(savedInstanceState: Bundle?): Unit
Dagger injection and LocationWatchdog registration
onDestroy fun onDestroy(): Unit
Unregisters from LocationWatchdog