Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #49 from ranterle/feature/fix-listfragment-2.3
Browse files Browse the repository at this point in the history
Use list item available since API 1
  • Loading branch information
Benjamin Reimold committed Jun 9, 2015
2 parents b417e96 + bb11a35 commit 101f2d5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,14 @@ public void onItemSelected(String id) {
public ItemListFragment() {
}

@SuppressLint("InlinedApi")
@TargetApi(11)
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

// TODO: replace with a real list adapter.
setListAdapter(new ArrayAdapter<DummyContent.DummyItem>(
getActivity(),
android.R.layout.simple_list_item_activated_1,
android.R.layout.simple_list_item_1,
android.R.id.text1,
DummyContent.ITEMS));
}
Expand Down

0 comments on commit 101f2d5

Please sign in to comment.