LukeDeighton / WheelView

An Android Widget for selecting items that rotate on a wheel.
Apache License 2.0
898 stars 264 forks source link

load image url items #69

Open anshul90 opened 5 years ago

youssefwagih commented 4 years ago

any updates on this please

maheshqzaak commented 4 years ago

anyone solve this...??

vivekbdc commented 4 years ago

I have the same issue, I found a solution after so many attempts. wheel view support only drawable. so you need to download an image from URL and save in cache dir so storage permission not required. Once downloading done. you can convert image into drawable.

Additional, I required image with other views so I keep the hidden Linearlayout and converted view into drawable.

Bitmap b = getBitmapFromView(binding.tempLiner); Drawable dd = new BitmapDrawable(b); return dd;

maheshqzaak commented 3 years ago

vivekbdc can you share image loading code