3

Possible Duplicate:
MVC pattern in Android?

I want to follow MVC architecture in Android.

How I can achieve this ?

Thanks.

Community
  • 1
  • 1
Kartik Bhatt
  • 924
  • 4
  • 16
  • 33
  • your question is right na i had up vote...why people has down vote cannot understand – PankajAndroid Sep 02 '13 at 06:59
  • Check out my blog posts on this starting here [Android Architecture: MV?](http://doridori.github.io/Android-Architecture-MV%3F/) – Dori Apr 03 '15 at 17:33

1 Answers1

6

MVC is already implemented in Android

  • You define your user interface in various XML files by resolution/hardware etc.
  • You define your resources in various XML files by locale etc.
  • You extend classes like ListActivity, TabActivity and make use of the XML file by inflaters
  • You can create as many classes as you wish for your model
  • A lot of Utils have been already written for you. DatabaseUtils, Html, etc.

Copied from: MVC pattern on Android

See the Example Here

Community
  • 1
  • 1
Kartik Domadiya
  • 29,868
  • 19
  • 93
  • 104