JessYanCoding / InsGallery

📸 Instagram-like image picker for Android (一款 UI 炫酷高仿 Instagram 的图片、视频选择器)
Apache License 2.0
664 stars 126 forks source link

Unable to use the Library #47

Closed HaXxanParhar closed 3 years ago

HaXxanParhar commented 3 years ago

I'm new to Android and there's very little guidance on how to use the library. In fact, there is only one line on usage and after pasting that line in my activity, It was missing the GlideEngine. I found the GlideEngine online and fixed that issue. But the next parameter was the OnResultCallBack which required the GridImageAdapter and both of these resist in the library but I'm calling the openGallery() function from my Activity so how am I supposed to pass the mAdapter (GridImageAdapter) there? When I don't have it in my activity neither I can access it from the library. I know it must be very easy to use but I just couldn't figure out how to use it as I'm new to the programming. Kindly help with this. Thanks

JessYanCoding commented 3 years ago

emmm... GridImageAdapter is to display photo album pictures,replace GridImageAdapter with Adapter in your project。

Considering that you are a new programmer, it is recommended that you copy GridImageAdapter to your project

HaXxanParhar commented 3 years ago

Thank you :)