Code example for ListFragment

Methods: startActivity

0
        WebLink link = (WebLink) getListAdapter().getItem(position);
        startBrowserLink(link.getUrl());
    } 
 
    private void startBrowserLink(String url) {
        startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
    } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java