How to implement a class and fragment markup with a ListView (where and how to get a ListView ), if the class should inherit from Fragment ?

Such a fragment is required for insertion into the container (not into the blind) from the NavigationDrawerActivity

    1 answer 1

    1. Create a class that extends Fragment
    2. Create a markup in xml with a listview in it.
    3. In the onCreateView class of claim 1, load this markup into the fragment.
    4. Display the fragment.

    For all this, there are many tutorials.