Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Is it possible to implement the model–view–controller pattern in Java for Android?
Home
JQuery
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.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: What is View Group in Android? and how they are different from views?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: What is a ContentProvider in Android and what is it typically used for?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: What is ADB in Android and what is it used for?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: How to declare global variables in Android?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: When to use Fragments vs Activities in Android?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: What is use of the default constructor to create a Fragment in Android?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: How to persist data in an Android app?
asked
Jun 23, 2020
in
JQuery
by
AdilsonLima
#android
0
votes
Q: What is the most appropriate way to store user settings in Android application?
asked
Jun 22, 2020
in
JQuery
by
DavidAnderson
#android
0
votes
Q: What are key features of Android 11?
asked
Sep 21, 2020
in
JQuery
by
JackTerrance
#android
0
votes
Q: What is the latest Android Version?
asked
Sep 21, 2020
in
JQuery
by
JackTerrance
#android
...