3

Possible Duplicate:
MVC pattern in Android?

I want to follow MVC architecture in Android.

How I can achieve this ?

Thanks.

2
  • your question is right na i had up vote...why people has down vote cannot understand Commented Sep 2, 2013 at 6:59
  • Check out my blog posts on this starting here Android Architecture: MV? Commented Apr 3, 2015 at 17:33

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.