I am trying to set two different adapters on two listviews in the same layout. After a few searches on the internet and this error "must have a listview whos id must be android.R.id.list", I have found out I need to define my listview id as @android:id/list.
What I wonder is how do I refer to two different listviews that are using @android:id/list?
Does the following code make sense?
ListView lv1 = (ListView) findViewById(android.R.id.list);
ListView lv2 = (ListView) findViewById(android.R.id.list);
ps: I am working in a Fragment and extending ListFragment.