You can get rid of extends ActionbarActivity
and extends ListActivity
. You could also use ListFragment
.
You can extend ActionBarActivtiy
and use ListFragment
from the support library
http://developer.android.com/reference/android/support/v4/app/ListFragment.html