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

We need a good example of how Jetpack should be designed for both online and offline. The Repository should get all the info from Firestore and update the Room DB...

I see that master detail was removed in https://github.com/googlesamples/android-sunflower/commit/7990334ad654fc9347dd9ba0e71761232da56678 and it's actually kinda sad because I was secretly hoping for the past 8 months that this will be *that one...

Hi, I would like to see implementation of preference/settings page, and how to change textcolor / textbackground in important issues in preferences, and how to cope with style/themes according to...

enhancement

The project has now S-Chinese T-Chinese Japanese #322 German #337 Italian #341 English Can people add an extra one or more language support?

enhancement
help wanted

To better support watering and removing plants from the user's garden, we should use the "recyclerview-selection" library to select plants. The idea is that, once plants can be selected, then...

Using guidance from [Styling internationalized text in Android](https://medium.com/androiddevelopers/styling-internationalized-text-in-android-f99759fb7b8f), it would be better to combine strings such as "watering_next_prefix" and "watering_next_suffix" to a single "watering_next" plural string. For example: ``` Watering...

help wanted
cleanup

Right now the test setup in `PlantDetailFragmentTest` jumps directly to the `PlantDetailFragment` from the `GardenFragment`. Update so that the test navigates to `PlantDetailFragment` (via `PlantListFragment`) using the navigation drawer.

It would be really nice if this repo had a decently built out set of tests using ActivityScenario/FragmentScenario to be run optionally with Robolectric or Espresso APIs on JVM or...

For example, when datalist change , is there any way to update recyclerview item by using viewmodel in xml?

After looking all over the interwebz for the correct/suggested approach to multiple dynamic features with no success I saw [this awesome](https://youtu.be/ELGShpd17wc?t=1902) talk by @ceruleanotter (ty 🙏) and she does mention...