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

A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.

Results 154 architecture-samples issues
Sort by recently updated
recently updated
newest added

I found that an activity in the project will create a fragment correspondingly. What are the benefits of this? I don't think fragments are necessary.

I was looking at `HiltTestActivity` comparing to `EmptyTestActivity` it is missing `setTheme()` during `onCreate()` method. ```kotlin override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setTheme( intent.getIntExtra( "androidx.fragment.app.testing.FragmentScenario.EmptyFragmentActivity.THEME_EXTRAS_BUNDLE_KEY", R.style.FragmentScenarioEmptyFragmentActivityTheme ) ) } ```...

Produces state by merging flows that carry functions that lazily modify the state. This avoids the issues that can arise when combining flows: * The limited arity of the `combine`...

![Screenshot from 2022-06-22 19-38-55](https://user-images.githubusercontent.com/75962762/175050358-fd196d63-b582-4f3d-be87-c740f2a10b38.png) ![Screenshot from 2022-06-22 19-39-11](https://user-images.githubusercontent.com/75962762/175050365-e755aa49-ab9d-4f0e-a128-5d2cac7f1c79.png)

The possible exception in DefaultTasksRepository.updateTasksFromRemoteDataSource() is not handled in either repository level or in the VM's that are calling refreshTasks() inside viewModelScope.launch

An experimental branch for functional reactive state production based on the [stateflow branch](https://github.com/android/architecture-samples/tree/stateflow). It offers feature parity with the existing branch and tries to establish some core FRP state production...