Skip to content

Repository files navigation

Android Search List Example using MVP Structure

About Project

IDE Used : Android Studio
IDE Version : 3.5
Language : Kotlin
Project Structure : MVP(Model View Presenter)
Min Api Level :19
Max Api Level :29

This project contain simple example of search using MVP structure. For networking : Retrofit and Rx-java are used.

Model–view–presenter (MVP) is a derivation of the model–view–controller (MVC) architectural pattern which mostly used for building user interfaces. In MVP, the presenter assumes the functionality of the “middle-man”. In MVP, all presentation logic is pushed to the presenter. MVP advocates separating business and persistence logic out of the Activity and Fragment.

Dependencies

Folders

  • app - Contains all the Eloquent models
  • base - Contains base classes which contains common methods used in every class
  • presenter -Presenter contains classes which are used to generate Views and bind Objects to them on demand. It is closely related to the concept of an RecyclerView.Adapter, but is not position-based. The leanback framework implements the adapter concept using ObjectAdapter which refers to a Presenter (or PresenterSelector) instance.

The app has following packages:

  1. api: It contains all the Model and networking Api's.
  2. ui: View classes along with their corresponding Presenters.
  3. utils: Utility classes.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages