Category "androidx"

Proper implementation of ViewPager2 in Android

I came to know about ViewPager2 and tried to implement it, but didn't find any proper example. Can anyone tell me how can I use it. I am looking for proper us

Proper implementation of ViewPager2 in Android

I came to know about ViewPager2 and tried to implement it, but didn't find any proper example. Can anyone tell me how can I use it. I am looking for proper us

Error inflating class NavigationView caused by ResourceNotFoundException

So around 1% of my daily users are haunted with the NavigationView exception which is caused by an image resource not being found. I find that strange, 99% of o

java.lang.IllegalArgumentException: Error: Failed to parse APK file:

I have search stockoverflow and google with no luck. I recently migrated my app to androidx, after a lot of effort I was able to fix all the build fails. but n

OutlinedBox for TextInputEditText is not working

I am working on login screen where I want to implememt material edit text with following view : Following is my code : <com.google.android.material.textf

Clear state for fragment when using bottom navigation

We have implemented bottom navigation as described here: https://developer.android.com/guide/navigation/navigation-ui#bottom_navigation https://medium.com/andro

Attempt to invoke virtual method 'androidx.navigation.NavGraph androidx.navigation.NavDestination.getParent()' on a null object reference

I have created an Android application and I have added the "Navigation Drawer Activity" from Gallery, I have removed and renamed the menu items. After starting

Confusion on the defaultValue migration requirement for upgrade after Room 2.1.0

In Room 2.1.0, it is common to have the following code Version 2 @Entity(tableName = "password") public class Password { @ColumnInfo(name = "dummy0")

Uncheck use Androidx artifacts

I have made some projects using androidx, today i decided to start new progject without use of androidx and my starter template shows this (source: mobytop.ru)