Android Open Source - voicr Notes List






From Project

Back to project page voicr.

License

The source code is released under:

MIT License

If you think the Android project voicr listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package info.androidhive.slidingmenu;
//from   w  w  w .jav a2s  .  com
import android.app.ListFragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
 
public class NotesList extends ListFragment {
 
    String[] countries = new String[] {
        "India",
        "Pakistan",
        "Sri Lanka",
        "China",
        "Bangladesh",
        "Nepal",
        "Afghanistan",
        "North Korea",
        "South Korea",
        "Japan"
    };
 
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {
        /** Creating an array adapter to store the list of countries **/
        ArrayAdapter<String> adapter = new ArrayAdapter<String>(inflater.getContext(), android.R.layout.simple_list_item_1,countries);
 
        /** Setting the list adapter for the ListFragment */
        setListAdapter(adapter);
 
        return super.onCreateView(inflater, container, savedInstanceState);
    }
}




Java Source Code List

info.androidhive.slidingmenu.CommunityFragment.java
info.androidhive.slidingmenu.FindPeopleFragment.java
info.androidhive.slidingmenu.HomeFragment.java
info.androidhive.slidingmenu.MainActivity.java
info.androidhive.slidingmenu.NotesList.java
info.androidhive.slidingmenu.PagesFragment.java
info.androidhive.slidingmenu.PhotosFragment.java
info.androidhive.slidingmenu.RecordAudioFragment.java
info.androidhive.slidingmenu.RecordAudio.java
info.androidhive.slidingmenu.WhatsHotFragment.java
info.androidhive.slidingmenu.adapter.NavDrawerListAdapter.java
info.androidhive.slidingmenu.model.NavDrawerItem.java