My screen is divided into 3 main parts, currently (I guess that probably there is a better approach): First part is showing data. It's divided i ...
My screen is divided into 3 main parts, currently (I guess that probably there is a better approach): First part is showing data. It's divided i ...
I have two questions about registerForActivityResult call back in android. is it necessary to un register this call back when the activity is going to ...
I have implemented a periodic work request using android work manager, the work is getting repeated if app is in foreground or background. But when t ...
I have an activity with a toolbar from a default layout in Android Studio and I can easily change the title in the toolbar through the following metho ...
I am wondering if there is a good pattern/method for hiding the action bar for splash/loading screens?? I understand the pattern isn't great, but we a ...
Can I take an app that I like and inspect it to see which components it is build off? Take for example the menu structure of Androids "Developer Opt ...
FragmentA is used in nav_graph_first and all the respective action methods/navigations are created in FragmentADirections but when FragmentA is used i ...
I'm trying to compare between button background to resource file. For exmaple, I have button BUTTON The background has drawable/frame_genre. I'm ...
I've implemented BottomNavigationView with navigation graph. while setting a solid colour in navigationView as a background, it's working fine but whe ...
This is a simple question of code efficiency, while I'm learning more about layouts. I'm creating a grid of checkboxes, and each one has the same attr ...
So i am using Navigation in my main activity of my app and i have a fragment which is my start navigation fragment. In this fragment, after it is cre ...
I am working on the project NavigationAdvancedSample of the architecture-components-samples repository. This project shows a workaround to support mul ...
I have ViewModel: I connected it with fragment layout using: And in fragment class in onCreateView method: I can change the EditText value ...
I have a simple layout containing some views. This TextView has The autosizing is set programmatically like so.. My issue is on a Samsung Galax ...
i'm trying to implement a movie app that allows brows movies and checkout the ratings on them... and i got a problem when i tried to implement a MVVM ...
I'm looking for a component like this: If you have used Tinder, i want something like when you view a profile, how you can cycle through their pictu ...
The following answer shows an example of disabling an activity. But in few places I've seen disabling package completely. Disabling activity ...
I'm using Room and in the Dao I have this method: In MainActivity I have subscribed to that method from the ViewModel. Changes to the data trigger ...
After adding the Android lifecycle component to my project with the following line: implementation("androidx.lifecycle:lifecycle-extensions:$lifecycle ...
I'm currently using the Android Architecture Component's Navigation, but I'm running into an issue with my Navigation Drawer. It shows the hamburger m ...