I'm a bit confused as to wether I should create a plain activity
or a fragmentactivity
. My app is displaying an expandableListView
and a dialog
. Thats it (pretty much).
I cannot find any instance that my app would be better if I used a fragmentActivtiy
because first of all my app is not designed for tablets, and second I'm not adding or doing anything to my main activity
during runtime to change the views.
My problem is that it seems it is a must to use fragments, because when I checked out Android dev site on dialogs
, it only explains how to implement them using fragments. Are plain activities highly un-recommended or I just have to judge my app, and are all features such as dialogs available for plain activities? (And can someone please give me a link to a good source where I can learn about dialogs in a normal activity?)
http://developer.android.com/guide/topics/ui/dialogs.html
It says here that you should use a fragment but does that mean i have to go all out and make my main activity a fragment?