android-section-list icon indicating copy to clipboard operation
android-section-list copied to clipboard

i want list view click intent to another activity

Open gkapusta opened this issue 11 years ago • 0 comments

From [email protected] on February 13, 2014 03:57:40

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: http://code.google.com/p/android-section-list/issues/detail?id=16

gkapusta avatar Apr 16 '14 09:04 gkapusta