if you are using Hilt
, ensure your activity/fragment is having @AndroidEntryPoint
annotation
More Related Contents:
- AndroidViewModel vs ViewModel
- What is AndroidX?
- Sharing data between fragments using new architecture component ViewModel
- How to clear navigation Stack after navigating to another fragment in Android
- IllegalStateException: Link does not have a NavController set
- Android ViewModel additional arguments
- Android Persistence room: “Cannot figure out how to read this field from a cursor”
- Android Room: Insert relation entities using Room
- LiveData prevent receive the last value when start observing
- Room Persistence: Error:Entities and Pojos must have a usable public constructor
- Android Jetpack Navigation, BottomNavigationView with Youtube or Instagram like proper back navigation (fragment back stack)?
- Room – LiveData observer does not trigger when database is updated
- How to get Context in Android MVVM ViewModel
- Why a viewmodel factory is needed in Android?
- Why there’s a separate MutableLiveData subclass of LiveData?
- ViewPager with Navigation architecture components [duplicate]
- How can I represent a “many to many” relation with Android Room when column names are same?
- Return type for Android Room joins
- ViewModelProviders is deprecated in 1.1.0
- Why LiveData observer is being triggered twice for a newly attached observer
- How I can retrieve current fragment in NavHostFragment?
- How to combine two live data one after the other?
- How to implement a ViewPager with BottomNavigationView using new Navigation Architecture Component?
- Navigation Architecture Component- Passing argument data to the startDestination
- Backup Room database
- How to handle cookies in httpUrlConnection using cookieManager
- Didn’t find class “com.google.firebase.provider.FirebaseInitProvider”?
- How to enable TLS 1.2 support in an Android application (running on Android 4.1 JB)
- Why does AlertDialog.Builder(Context context) only accepts Activity as a parameter?
- AppWidgetHostView can’t handle onClick/onLongClick properly