title: How can I fill a listView with the titles of the files in Assets?
body: <p>I have a Lyrics menu option in an app I started to develop in Xamarin Android. When it's clicked, it starts a new activity called Lyrics, in there is a listView that should be populated with clickable rows that have the titles of the txt files inside the Assets folder.</p>
  
  <p>So if there were 3 lyricsX.txt files in the Assets folder, the listView would look something like this:</p>
  
  <pre><code>[ lyrics1.txt ]
  [ lyrics2.txt ]
  [ lyrics3.txt ]
  </code></pre>
  
  <p>And these buttons with the lyrics titles should be clickable.</p>
  
  <p>I have tried to put the path into a string file and then use Directory.EnumerateFiles .. then foreach through that and write the result to the debug console, but nothing gets logged. Probably I have the wrong approach, I just don't know exactly what I'm doing wrong.</p>
  
  <pre><code>[Activity(Label = "Lyrics")]
      public class Lyrics : Activity
      {
          protected override void OnCreate(Bundle savedInstanceState)
          {
              string assetsPath = Android.App.Application.Context.GetExternalFilesDir(null).AbsolutePath;
              var assetsContents = Directory.EnumerateFiles(assetsPath);
              TextView title = FindViewById&lt;TextView&gt;(Resource.Id.lyricsTitle);
  
              foreach(var fileName in assetsContents)
              {
                  Log.Debug("debug", "NAME:" + fileName);
              }
  
              base.OnCreate(savedInstanceState);
              SetContentView(Resource.Layout.lyrics);
          }
      }
  </code></pre>