This is a simple implementation of the VIPER architecture in Android using Kotlin. The app displays a user's name and email using cleanly separated layers.
- View: UI layer (
UserActivity
) - Interactor: Business logic (
UserInteractor
) - Presenter: Connects view and logic (
UserPresenter
) - Entity: Data model (
User
) - Router: Navigation handler (
UserRouter
)
- Clone the repository
- Open in Android Studio
- Run on emulator or device
Displays:
Name: Vimal Kumar
Email: vimal@example.com
entity/
interactor/
presenter/
router/
view/
Vimal Kumar