architecture-components-samples icon indicating copy to clipboard operation
architecture-components-samples copied to clipboard

Samples for Android Architecture Components.

Results 192 architecture-components-samples issues
Sort by recently updated
recently updated
newest added

I have tried navigation adventure (demo), it looks good and it is intuitive; however, It has come to my attention that after performing a stress test on the navigation buttons,...

OK, so the main problem here, is that using the sample code, all fragments are created to ON RESUME State, so this means if I have 5 fragments with networking...

I have applied Android Architecture Component the same as GithubBrowserSample. Now, I want to develop the login function in my app. I want to use username and password to get...

As seen [here](https://circleci.com/gh/android/architecture-components-samples/3450): > Task :lib:compileDebugRenderscript FAILED /opt/android/sdk/build-tools/29.0.3/llvm-rs-cc: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory > > FAILURE: Build failed with...

I want to backup and restore room database and upload to my server. What is the best way? Thanks

DataRepository.getInstance(AppDatabase database) returns a singleton. But that means the _database_ parameter is ignored from calls other than the first. Subsequent calls are returned a DataRepository for a different _database_! AppDatabase.getInstance(Context...

dependency injection

How to get response witout mediator live data and callbacs? Like with retrofit `Call` we use `.execute()` and for `Rx` we user `.blockingFirst()`

I tried https://github.com/android/architecture-components-samples/tree/88747993139224a4bb6dbe985adf652d557de621/GithubBrowserSample I can see that they have used NetworkBoundResource class to handle db operations and network operations. The problem I am facing now is MediatorLiveData onChanged method not...

i have used this source code for BottomNavigationView https://github.com/android/architecture-components-samples/tree/master/NavigationAdvancedSample now i have drawerlayout too and i want to add/replace fragment with other navigation graph. also i have different fragment for...

I simply cloned the repo, and opened the `GithubBrowserSample` in `Android Studio`. Then I selected the unit test directory, and tried to run the tests in it ![photo_2020-04-21_06-35-08](https://user-images.githubusercontent.com/9678279/79813798-43910080-839a-11ea-80df-53c433a77965.jpg) but am...