Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default Pattern MVC on Android

I think I read somewhere that by default all Android applications were based on the MVC pattern, are that true?

Could I have information that affirm or deny these statements.

Thank you all.

like image 751
Carried Louis Avatar asked Dec 02 '25 02:12

Carried Louis


2 Answers

are that true?

No.

Could I have information that affirm or deny these statements

Android's view framework was not designed around any particular architecture. You are welcome to attempt to make your Android app adopt MVC, MVP, MVVM, etc., but none are an exact match.

like image 130
CommonsWare Avatar answered Dec 03 '25 20:12

CommonsWare


Explanation by Realm here:

https://news.realm.io/news/eric-maxwell-mvc-mvp-and-mvvm-on-android/ shows that by Default Android studio's project are in MVC architecture. Also, this blog gives a brief idea of the difference between MVC.MVP, MVVM.

I have a repo on GitHub with same Chat application using firebase written in MVC, MVP, MVVM shows how same Application can be written in all three formats.

https://github.com/saksham24/Android-Firebase-Mvp-Mvc-Mvvm-chat

like image 32
saksham Avatar answered Dec 03 '25 20:12

saksham



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!