Login
Remember
Register
Ask a Question
Is it possible to implement the model–view–controller pattern in Java for Android?
0
votes
asked
Jun 22, 2020
in
JQuery
by
DavidAnderson
Is it possible to implement the model–view–controller pattern in Java for Android?
#android
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 22, 2020
by
DavidAnderson
In Android you
don't have MVC
, but you have the following:
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 clases like ListActivity, TabActivity and make use of the XML file by inflaters.
You can create as many classes as you wish for your business logic.
A lot of Utils have been already written for you - DatabaseUtils, Html.
...