If you want to keep things simple, you could just have a class of static
variables. These would basically be global variables.
Then, when you modify a variable, just redraw the screen (or mark the
screen as dirty for later redrawing).
On Tuesday, January 22, 2013 4:53:49 PM UTC-6, dashma
To take Nobu Games' example one step further you do have a singleton that
is always running and that is the application class. You can subclass it
and use it to store any state variables you want to use across you app.
That way if you need to switch activities you can and don't have to do
eve
1. Observer Pattern is the most obvious choice. I've used it plenty in my
apps to achieve such behavior. (you can either implement your own or use
existing android services like BroadcastRecievers)
2. Fragments do seem appropriate to what you're talking about.
On Wednesday, January 23, 2013 12:
There is nothing much you can design in these regards because Android comes
with its own strong concept of MVC. The Application class is usually not
interesting at all so you shouldn't create a derivative class based on it.
The main class that is interesting for you is Activity (or
FragmentActi
Hi,
actually Veritatis I'm looking for a way to pack my android application
like is used by the best pratices of MVC pattern. I donĀ“t know if you
understood, but I miss a better way to organize the native code of android.
Thanks,
Henrique
On Sat, Feb 12, 2011 at 05:40, Indicator Veritatis wro
On Sat, Feb 12, 2011 at 1:40 PM, Kevin Duffey wrote:
> I am a little confused about this android MVC. I always associate MVC with a
> server side architecture, such as Struts, or Spring Web.
MVC was originally a client-side architecture. In fact, it originated
with Smalltalk:
http://en.wikipedia
I am a little confused about this android MVC. I always associate MVC with a
server side architecture, such as Struts, or Spring Web. I thought at first
the OP was asking about building a web server on an android device using
MVC. So I am not sure I see how MVC is relevant to android apps themselve
First, welcome to the Android dev community! :-)
Whether the Android is MVC framework or not, why are you specifically
searching for one?
I would just learn the Android SDK, its concepts and start creating my app
that fits these concepts, MVC or not.
But if your question is a question whether
Unfortunately, the term 'MVC' has suffered some corruption over the
years: purists, especially Smalltalk aficionados, insist that unless
you do it the Smalltalk way, it is not MVC. Others use the term more
loosely, many too loosely.
In any case, some of the latter DO say that Android's SDK meets t
9 matches
Mail list logo