This is some lines from my code:
vFlipper = (ViewFlipper) findViewById(R.id.viewflipper);<BR>
listView = (ListView) findViewById(R.id.firstlayout);<BR>
listView.setAdapter(stationaryAdapter);
List of object and when i click on them I get more information about every object. At this moment it works as it should do. But when i click on a button and it should read in som other objects and but a different layout to it the clickable feature stops to work.
On click these line is read:
vFlipper.setDisplayedChild(1);<BR>
listView = (ListView) findViewById(R.id.secondlv);<BR>
listView.setAdapter(mobileAdapter);
Without changing the layout it works with the new list.
Someone have a clue?