Top "Android-jetpack" questions

Android Jetpack is a Google's set of libraries, tools and architectural guidance to build Android apps and provides common infrastructure code.

What is Android CameraX?

What is Android CameraX? There is a session about CameraX planned in Google I/O 2019. What is it? Is it …

android android-jetpack android-camerax
BoundService + LiveData + ViewModel best practice in new Android recommended architecture

I been struggling a lot thinking about where to place Android Services in the new Android recommended Architecture. I came …

android android-service android-architecture-components android-jetpack android-architecture
Android navigation component with shared view models

A viewmodel lives and dies with an activity or the fragment it is attached to. This has certain ramifications that …

android android-architecture-components android-jetpack
WorkManager.getInstance().cancelAllWorkByTag() not stopping the periodic job

for periodic task I am using work manager as: PeriodicWorkRequest.Builder wifiWorkBuilder = new PeriodicWorkRequest.Builder(FileUpload.class, 15, TimeUnit.MINUTES) .setConstraints(…

android android-jetpack android-workmanager
Android JetPack navigation with multiple stack

I'm using Jetpack Navigation version 1.0.0-alpha04 with bottom navigation. It works but the navigation doesn't happen correctly. For example, if …

android android-architecture-components android-jetpack android-architecture-navigation
Pass data from single activity to start destination fragment using Architecture Component Navigation

I've got the following Activity, which is the single one in my app: MainActivity.java: public class MainActivity extends AppCompatActivity { @…

android android-architecture-components android-navigation android-jetpack android-architecture-navigation
Android Navigation popBackStack

I tried use Android Navigation component and have a problem with back stack. I have Fragment A, B. I write: …

android android-fragments android-jetpack
How to convert a List<Object> to PagedList<Object> and vice-versa?

PagedList<Object> is used for Android's cool paging library. To make the question as minimal as possible : If …

android rx-java2 android-architecture-components android-livedata android-jetpack
Android Navigation Architecture Component - Nav Drawer Icons

I'm currently using the Android Architecture Component's Navigation, but I'm running into an issue with my Navigation Drawer. It shows …

android navigation-drawer android-jetpack android-architecture-navigation android-components
How to navigate from nested Fragment to parent fragment using Jetpack Navigation?

I have main navigation: SplashFragment -> RegistrationFragment -> RootFragment <fragment android:id="@+id/splashFragment" android:name="com.…

android android-jetpack android-navigation android-architecture-navigation