nama = new String[] { "2 Potong Ayam", "Wing Bucket" };
@Override
public void onItemClick(AdapterView<?> arg0, View arg1, int position, long arg3){
Intent i = null;
if (equals("2 Potong ayam")){
i = new Intent(Kfc.this, Ayam.class);
} else if (equals("Wing Bucket")){
i = new Intent(Kfc.this, Bucket.class);
} startActivity(i);
}
});
when i clicked listview,, always force close.
Original issue reported on code.google.com by monika_j...@yahoo.co.id on 13 Feb 2014 at 2:57
Original issue reported on code.google.com by
monika_j...@yahoo.co.id
on 13 Feb 2014 at 2:57