Code example for ListFragment

Methods: getListAdaptergetListView

0
    public void setOnNoteClickListener(OnNoteClickListener listener){
        mNoteClickListener = listener;
    } 
    protected void requestMoreNotifications(){ 
        if (mNoteProvider != null) {
            mNoteProvider.onRequestMoreNotifications(getListView(), getListAdapter());
        } 
    } 
 
    class NotesAdapter extends ArrayAdapter<Note> {
        NotesAdapter(){ 
            this(getActivity());
        } 
        NotesAdapter(Context context){
            this(context, new ArrayList<Note>());
        } 
        NotesAdapter(Context context, List<Note> notes){
            super(context, R.layout.note_list_item, R.id.note_label, notes);
        } 
        @Override 
Stop searching for code, let great code find you!  Add Codota to your java IDE