The original fizz-buzz consists in writing all numbers from 1 to 100, and just replacing :
all multiples of 3 by "fizz", all multiples of 5 by "buzz", and all multiples of 15 by "fizzbuzz".
The output would look like this: "1, 2, fizz, 4, buzz, fizz, 7, 8, fizz, buzz, 11, fizz, 13, 14, fizzbuzz, 16, ...".
[first screen] Have a form that accepts five parameters : two integers int1 and int2, one long limit, and two strings str1 and str2.
[second screen] Display a scrollable screen with a list of strings with numbers from 1 to limit, where: all multiples of int1 are replaced by str1, all multiples of int2 are replaced by str2, all multiples of int1 and int2 are replaced by str1str2.
- Data (for database, API and preferences code): Not implemented
- Domain (for business logic and models)
- Presentation (for UI logic, with MVVM)
- Unit test for the class that calculate the fizz buzz sequence
- View Binding: To facilitate the coding of Fragments and for null safety;
- Dependency injection (with Hilt)
- Android architecture components to share ViewModels during configuration changes
- Implement JetPack Compose with a study to implement the design MVI (Model - View - Intent)
- Add more unit tests and integration tests
- Add a repository to stock the data in local level (multiples, limit and words):
- Maybe shared preferences or jetpack DataStore at the beginning
- Improve the UI design