lawloretienne / ImageGallery

A gallery used to host an array of images
Apache License 2.0
645 stars 116 forks source link

Gallery Items form Internal Resource #28

Closed UniqueC0de closed 7 years ago

UniqueC0de commented 7 years ago

@lawloretienne: how can I access gallery items from app internal resource? I try add several ways to add internal resource to the "unsplash_images" array, but no success. Please help!

UniqueC0de commented 7 years ago

I finally found the solution by to the array file:

< item >android.resource://com.company.appname/drawable/photohere< /item >

where "com.company.appname" is your app id, "drawable/photohere" is the path of your file in your app.

PS: don't forget to remove space from < item >.