mercredi 17 avril 2019

Which design pattern follow for creating an android project in android studio IDE?

I found, There are various patterns used in Android component and framework like:

Behavioral patterns:

  • Observer (e.g.Broadcast Receiver, RxAndroid)
  • Command (e.g. EventBus)
  • Model View Controller
  • Model View Presenter
  • Model View ViewModel (similar to the MVC pattern above)

Creational patterns:

  • Builder (e.g. Notification, AlertDialog.Builder,)
  • Dependency Injection (e.g. Dagger 2)
  • Singleton (e.g.View Holder)

Structural patterns:

  • Adapter (e.g. RecyclerView.Adapter)
  • Facade (e.g. Retrofit,Media Frame)

Actually,

I am already used MVP and MVVM design pattern. But Don't know
What is the name of the default design pattern of Android Studio Project?

Aucun commentaire:

Enregistrer un commentaire