java - Should I create a fragment for my app? -


i'm bit confused wether should create plain activity or fragmentactivity. app displaying expandablelistview , dialog. thats (pretty much).

i cannot find instance app better if used fragmentactivtiy because first of app not designed tablets, , second i'm not adding or doing main activity during runtime change views.

my problem seems must use fragments, because when checked out android dev site on dialogs, explains how implement them using fragments. plain activities highly un-recommended or have judge app, , features such dialogs available plain activities? (and can please give me link source can learn dialogs in normal activity?)

http://developer.android.com/guide/topics/ui/dialogs.html

it says here should use fragment mean have go out , make main activity fragment?

here discussion using fragment or activity dialog: show fragment dialog or usual activity

if want make dialog activity, hope tutorial helps: how create dialog activity in android?


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -