title: Android: How to detect a directory in the assets folder?
body: <p>I'm retrieving files like this </p>
  
  <pre><code>String[] files = assetFiles.list("EngagiaDroid"); 
  </code></pre>
  
  <p>How can we know whether it is a file or is a directory?</p>
  
  <p>I want to loop through the directories in the assets folder then copy all of its contents.</p>