getListView is missing
<p>I have created a <strong>ListView</strong> to list all the activities but when I wanna call the method, I can't find <strong>getListView</strong> </p>

<p>My activity_fragment.xml</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"&gt;


        &lt;ListView
            android:id="@+id/ListActivity"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"&gt;

        &lt;/ListView&gt;


&lt;/RelativeLayout&gt;
</code></pre>

<p>and in my <strong>MainActivity.java</strong> seems like there's an error with </p>

<blockquote>
  <p>getListView</p>
</blockquote>

<p>method, I've no idea why </p>

<p><a href="https://i.stack.imgur.com/gBZ1b.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gBZ1b.jpg" alt="enter image description here"></a></p>