Code example for FragmentActivity

Methods: onNewIntent, setIntent

0
 
    @Override 
    protected void onNewIntent(Intent intent) {
        Log.d(TAG, "onNewIntent() called");
 
        super.onNewIntent(intent);
        setIntent(intent);
        mlistFrag.handleIntent(intent);
    } 
 
    // Utility class to store the View ID's retrieved from the layout only once for efficiency 
    static class ViewHolder { 
 
        TextView name;
    } 
 
    public static class SearchCursorAdapter extends SimpleCursorAdapter implements SectionIndexer {
 
        private int mLayout;
        private LayoutInflater mInflater;
        private MusicItemIndexer mIndexer;