Skip to content

Khokhlinvladimir/Category-selection-recyclerview

Repository files navigation

Adapter selection category for Android App dzen.ru

The android program allows users to select their preferred categories. For this, a RecyclerView is used, which displays a list of categories. Each category is represented as an element with a name and a flag that indicates that the category is selected.

The user can select or deselect a category by tapping an item in the RecyclerView. Information about the selected categories is stored in the Room database and can be used in the future, depending on the logic of the program.

The program uses the MVVM (Model-View-ViewModel) architecture to separate the application logic from its presentation. The Model stores the data, the View displays it, and the ViewModel provides the interaction between the Model and the View. This improves testability and segregation of duties.

The program also uses coroutines to manage asynchronous operations and avoid blocking the user interface. Coroutines allow you to run tasks in the background and perform some actions after these tasks are completed.

The program also uses several libraries from android jetpack, such as LifeCycle, LiveData and ViewModel, to improve the application lifecycle experience and simplify data handling.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages