sunflower icon indicating copy to clipboard operation
sunflower copied to clipboard

A gardening app illustrating Android development best practices with migrating a View-based app to Jetpack Compose.

Results 105 sunflower issues
Sort by recently updated
recently updated
newest added

Hi there, 1. Is there any sample using kotlin coroutine and its channel with architecture component? 2. Will coroutine channel livedata will be available in architecture component? 3. Should we...

Use Navigation + Drawerlayout switch may emerge block when fragment runing many tasks.

Hi everyone, I'm found a little confuse in current app's ViewModels as there used an viewModelScope from ktx in which implementation coroutine context gets cancel on it's close. But in...

Occasionally, Sunflower's string resources are added or updated, which may result in untranslated strings for non-English languages. These untranslated strings are prefixed with "(translate me)" If you would like to...

help wanted

Chips is handy, but should be used wisely. How to use them and where to not use them ? RG

Most common problem with ViewModels is pain around quickly writing unit tests. Since this is official example from Google, it would be nice to have best practices of writing unit...

Tested on mater with latest commit d1eda0b6a0687bbfb6d50b2499b73a5635ddeb5e Switch to Plant List Click filter button on top right Click filter button on top right again Scroll up and see first item...

[device-2019-10-30-011856.zip](https://github.com/android/sunflower/files/3786185/device-2019-10-30-011856.zip) 1. Changing tab moves the title. 0:00..0:05 2. Scrolling makes the title go top, but stay semi-visible. 0:06..0:17 3. When the title is semi-visible and you go to the...

As the title describes, the exception will happen when click two item in the list at the same time. ``` E/AndroidRuntime: FATAL EXCEPTION: main Process: com.google.samples.apps.sunflower, PID: 1795 java.lang.IllegalArgumentException: navigation...

When I hit the back button on the PlantDetailFragment page to return to HomeViewPagerFragment, the HomeViewPagerFragment will re-execute onCreateView.What should I do if I don't want to.thank you