Code example for ListFragment

Methods: onListItemClick, startActivity

0
        } 
    } 
 
    @Override 
    public void onListItemClick(ListView l, View v, int position, long id) {
        super.onListItemClick(l, v, position, id);
        startActivity(new Intent("android.intent.action.VIEW", Uri.parse(links[position].getURL())));
    } 
}