Not Showing Correct Position While Searching in Listview

public class MainActivity extends AppCompatActivity { SearchView searchView; ListView listView; ArrayList list; ArrayAdapter adapter; @Override protected void onCreate(…