Skip to content Skip to sidebar Skip to footer
Showing posts with the label Android Jetpack

Navigation Component: Pass Safeargs From Activity To A Fragment

I have two graphs, so the first graph move from one fragment to an activity passing safeArgs to the… Read more Navigation Component: Pass Safeargs From Activity To A Fragment

Bottomnavigation Menu With Jetpack Navigation Does Not Navigate

I have a strange problem regarding a BottomNavigationBar which I could not solve altough having spe… Read more Bottomnavigation Menu With Jetpack Navigation Does Not Navigate

Take Screenshot Of A Composable Fun Programmatically In Jetpack Compose

I would like to capture the UI emitted by Jetpack compose as a Bitmap. In XML this was done like th… Read more Take Screenshot Of A Composable Fun Programmatically In Jetpack Compose

How To Implement Dagger For Worker Classes?

Since the Worker class is created by the framework (WorkerManager), how can we use @Inject fields i… Read more How To Implement Dagger For Worker Classes?

How To Handle Navigation In Jetpack Compose?

In Jetpack Compose, how is navigation supposed to be done? All (and there aren’t many) examples (in… Read more How To Handle Navigation In Jetpack Compose?

Android Room - Avoid Passing Context Into Singleton

I am trying to migrate a project to Android Room. After reading the Android Room documentation I no… Read more Android Room - Avoid Passing Context Into Singleton

Replace Navigation View Item Ripple Effect

I am attempting to replace what I thought was the default item background of the NavigationView. So… Read more Replace Navigation View Item Ripple Effect

Setting Target Resolution For Camerax Not Working As In Documentation

I want to capture photos with fixed resolution (i.e. 1200x1600) using CameraX library. So according… Read more Setting Target Resolution For Camerax Not Working As In Documentation