FileDocCategorySizeDatePackage
List6.javaAPI DocGoogle Android v1.5 Example18447Sun Nov 11 13:01:04 GMT 2007com.google.android.samples.view

List6

public class List6 extends android.app.ListActivity
A list view example where the data comes from a custom ListAdapter

Fields Summary
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
        
        // Use our own list adapter
        setListAdapter(new SpeechListAdapter(this));
    
protected voidonListItemClick(android.widget.ListView l, android.view.View v, int position, long id)

    
       ((SpeechListAdapter)getListAdapter()).toggle(position);