Android Programming and Technical Programming Basics

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

Read Solution (Total 1)

Android Other Question

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.
Which of the below is not a Fragment class.

Options
1) Fragment
2) DialogFragment
3) PreferenceFragment
4) ActivityFragment