ShortlyApp

resize-1628162762777731559Screenshot1628162130 resize-1628162830805269836Screenshot1628162215

Architecture

  • Single Activity
  • MVVM Pattern

View: Renders UI and delegates user actions to ViewModel

ViewModel: Can have simple UI logic but most of the time just gets the data from UseCase

UseCase: Contains all business rules and they written in the manner of single responsibility principle

Repository: Single source of data. Responsible to get data from local or remote data source

Dependencies