Gallery is not supporting above api level 16
In your code, Gallery above api level 16 is not supported as it is being depreciated by google. So please update code accordingly..
Gallery is deprecated but it's still supported. It's just example.
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.
ViewPager.
But you still can use Gallery if you want.
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.
I can't define widget behavior by screenshots.
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.
This is ViewPager
Can u provide me please an example on this repository?
http://developer.android.com/reference/android/support/v4/view/ViewPager.html