When should you store files in the /assets directory?

✅  The correct answer is:

  • when you need access to the original file names and file hierarchy

Question:

When should you store files in the /assets directory?

Solution:

  • when you need access to the original file names and file hierarchy
  • when you need access to the file with its resource ID, like R.assets.filename
  • when you have XML files that define tween animations
  • when you need to access the file in its raw form using Resources.openRawResource()