Top "Listactivity" questions

A ListActivity is an Activity (main UI component of the Android System) that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item.

Android: Adding static header to the top of a ListActivity

Currently I have a class that is extending the ListActivity class. I need to be able to add a few …

android header listactivity
How to implement RecyclerView with CardView rows in a Fragment with TabLayout

I would like to implement a ListFragment in an Activity that uses a TabLayout, so that I can swipe between …

android android-fragments listactivity
Android ListView in Fragment

I am trying to create a list of items which contains an image and some description for the image in …

android android-listview android-fragments listactivity
Populate listview from arraylist of objects

I have a listactivity which will display a list of persons name and address with data from arraylist of objects. …

android listview listactivity
How do I start an Intent from an OnClickListener

My Main Activity extends ListActivity and displays a List. I am using custom Listitems defined in a class named DefinitionAdapter. …

android android-intent listener listactivity
how to use getListView() in Activity?

In ListActivity is can use this.getListView().addFooterView(footerView); but if I use Activity it can't use this.getListView() what …

android android-activity listactivity
Android. SQLite Exception: no such column _id

Im having some troubles trying to get the info stored in my database and showing it in a ListView. This …

android sqlite listactivity
Android: Your content must have a ListView whose id attribute is android.R.id.list

I'm getting this run-time error and I'm really struggling to get to the bottom of it: "Your content must have …

android android-activity listactivity
Android SimpleCursorAdapter doesn't update when database changes

I have an Android ListActivity that is backed by a database Cursor through a SimpleCursorAdapter. When the items are clicked, …

database android sqlite cursor listactivity
Creating ViewHolders for ListViews with different item layouts

I have a ListView with different layouts for different items. Some items are separators. Some items are different because they …

android listview listactivity