Code example for ArrayAdapter

Methods: getItem

    protected void onListItemClick(ListView l, View v, int position, long id) {
        Tip tip = mAdapter.getItem(position);
        if (tip != null) {
     * Represents a single ListView tip & trick in the list of all tips. A 
     * {@link Tip} is basically a title and an Intent to the Activity demo-ing 
     * the tip & trick 
     * @author Cyril Mottier 
    private static class Tip { 
        public String title;
Contextual code suggestions in your IDE  Get Codota for Java