Learn how to display a List of Items in a Fragment using ListFragment

You have seen how to use ListActivity to display a List of items in an Activity. Similar to that we have a ListFragment which can be used to display a List of items in a Fragment.

The advantages of using a ListFragment are:

  • You don’t have to create a Layout XML file. You can if you want.
  • You don’t have to create an EventListener.

To learn more please watch the Video.

Source Code available here

Author: Ankur

I am Enthusiastic about Learning new things and sharing my Knowledge. I like programming and have a pretty good background in Computer Science.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: