R
R
Robotex2012-09-14 14:00:25
Android
Robotex, 2012-09-14 14:00:25

MVC in Android how?

Hello.
Decided to learn Android. I read the documentation for off. site, but did not understand whether it is possible to use MVC there? How to achieve this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alexaol, 2012-09-14
@alexaol

There is a good series of articles on this subject here.
If I understood correctly, then Activity usually acts as a controller, layouts are views, and models are custom classes that implement your business objects.

A
alexaol, 2012-09-14
@alexaol

I would create such an object in Application , well, or in the form of a singleton, although the singleton has drawbacks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question