Android-Universal-Image-Loader icon indicating copy to clipboard operation
Android-Universal-Image-Loader copied to clipboard

Gallery is not supporting above api level 16

Open RohitPSoni opened this issue 12 years ago • 9 comments

In your code, Gallery above api level 16 is not supported as it is being depreciated by google. So please update code accordingly..

RohitPSoni avatar Jan 21 '14 10:01 RohitPSoni

Gallery is deprecated but it's still supported. It's just example.

nostra13 avatar Jan 26 '14 13:01 nostra13

If gallery its deprecated, what should we use instead?

        Gallery gallery = (Gallery) findViewById(R.id.gallery);
        gallery.setAdapter(new ImageAdapter());

I'm Starting to use this awesome library, it will be good if u can guide me what should i use instead.

Thanks for advance.

CoericK avatar Dec 16 '14 23:12 CoericK

ViewPager. But you still can use Gallery if you want.

nostra13 avatar Dec 17 '14 05:12 nostra13

And what should i use to make a Photo gallery that acts like the Ebay App for android.:

https://www.dropbox.com/sh/n3i8xl57ykufgdd/AAALJJQx3XXgVA3yL4bcw23ca?dl=0

At the top loads the first image centered, aside the number of photos that are in totall, and if i slide it left, loads the 2nd and it center it, and so on. I wanted to use Image Gallery from AUI Loader but it always starts the imagen at the center:

https://www.dropbox.com/s/pcolao3qjjffabq/Screenshot_2014-12-17-07-41-42.png?dl=0

Thanks for advance.

CoericK avatar Dec 17 '14 12:12 CoericK

I can't define widget behavior by screenshots.

nostra13 avatar Dec 17 '14 12:12 nostra13

Do u use Ebay App? Or Amazon? Can u download it search for an item and watch the effect please? I know ur library its the right but i dont know how to implement it.

CoericK avatar Dec 17 '14 12:12 CoericK

This is ViewPager

nostra13 avatar Dec 17 '14 12:12 nostra13

Can u provide me please an example on this repository?

CoericK avatar Dec 17 '14 13:12 CoericK

http://developer.android.com/reference/android/support/v4/view/ViewPager.html

nostra13 avatar Dec 17 '14 13:12 nostra13