How to create an activity which has fragment with listview?
Options
1) use Activity, fragment, a layout which will have listview
2) use activity & a ListFragment
3) Use only Activity with a layout which is having a listview in it.
4) Use only a ListFragment with out any activity
Is it possible to have fragments without UI, in android?
Options
1) Fragment will never have any UI.
2) Fragment generally will contribute its UI by using its own layout, But it might not have UI in some cases, as it is not mandatory
3) Both option 1 & are right.
4) none of the above are true, Because fragments should always have its own layout and contribute its UI.
Options
1) I can use a Fragment with out an Activity
2) A fragment can have multiple activities in it.
3) An activity can contain multiple fragments in it.
4) A fragment designed in one activity can't reused in other activity