title: How to display specific file on the internal storage in listview android?
body: <p>I saved some file in my app now I want to show the ones which are ended by .txt on my <code>listview</code> not all of them. Could you please help me?</p>
  
  <p><img src="https://i.stack.imgur.com/6mIOq.png" alt="You can see all files in my screenshot, I want to show just .txt ones"></p>
  
  <p>Here is how I generated my listview:</p>
  
  <pre><code>void ShowSavedFiles(){
      SavedFiles = fileList();
  
      ArrayAdapter adapter = new ArrayAdapter&lt;String&gt;(this,
                                    android.R.layout.simple_list_item_1,
                                    SavedFiles);
  
      listSavedFiles.setAdapter(adapter);
  }
  </code></pre>