I'm trying to create an Image Slider that Images list come from api. I wanna use viewpagerindicator to navigate between pages and UniversalImageLoading for lazy loading.
I've tried viewpagerindicator official examples which are made to show text ("this is a test") in the views but not image I can replace it's text view with image view but since I need lazy loading I decided not to reinvent the wheel so do you have any idea or any sample that meet my needs???
I'm a bit newbie to android so it's difficult for me to combine components. I use eclipse and my view is simple only one image view and pager for dots on bottom of the page just like the video below it's really what I need
https://www.youtube.com/watch?v=C7PrF-GsgFw
any help would be appreciated
I would suggest using this link , it is very good and you can program it for infinite pager indicator.
Follow this link
Related
Can anyone help me to get a simple library have the feature of sliding image banner with dot over the slider to show the image which is currently present. I have tried with ViewPager. Since I am new to Android, I am confused what to use. I tried many samples from GitHub, but I could make it run successfully. Can anyone give me a simple library for the same feature, horizontally sliding with image.
There are loads of them and most of them works like they are meant to. So check this and this out.
Check this library!
But for dots you have to implement! what you can do is take a linearlayout at the bottom of the screen and add the dots dynamically based on number of images.
and if you want to have some animations while sliding of banners check this link.
I am working on this issue for over 10 hours and its pushing me hard,
I need a library, which has circular dots, auto scroll, infinite scroll and I will provide title of the picture below it, I checked all the libraries provided so far and they did not help me, is there a library you guys use so far ? thank you
for circular indicators you can make use of this library :
https://github.com/ongakuer/CircleIndicator
and for autoscrollview you can use this library :
https://github.com/Trinea/android-auto-scroll-view-pager
I am using these two in my projects. make use of the github samples. it will help you for implementation details
Instead of finding libraries for this, implement the code that I am attaching below. Your dots view, auto scroll and infinite scroll will work with it. For the name of the image you can add code in the onPageChangeListener method to show the name of the image
View Pager Example for You
Hope your issue is resolved using this example that I made for you
what Android layout or view type to be used to create horizontally swipeable images. What I am after is like what is used by a lot of app when we firstly install it or when it was just updated. Usually app uses this type of view to explain some main features of the app.
Hopefully I am making sense. Thank you.
You can use android ViewPager.
Visit http://developer.android.com/reference/android/support/v4/view/ViewPager.html
You can use a ViewPager class to implement this feature. Check out the tutorial here
You can also use coverflow to show swipable images with good animation that is more good than view pager only.
https://github.com/Polidea/android-coverflow
Can anyone let me know how to implement this feature specified at
http://vimeo.com/24475654
Specially i am interested to know how to give dots below images which get changed when we swipe the images. Is there inbuilt function or any open source to implement this ??
Another way to do it is by using ViewPager from android support package. Here is a tutorial on how to use it: Android User Interface Design: Horizontal View Paging
As for the 'dots' below you can refer to this custom library for a ViewPager indicator: JakeWharton / Android-ViewPagerIndicator
You can use the native Gallery to do this and extend it to look like the one you want.
It has on selected item listeners so you can simply select the dots that correspond to the selected items.
Here is a Gallery tutorial: http://developer.android.com/resources/tutorials/views/hello-gallery.html
I am trying to implement a basic text to speech software. I have a GridView consisting of images. I need to have another view above this to which thumbnail of the images clicked can be placed.
Can anyone help me which view supports placing the thumbnail images?
You can use simple imageviews or modify your gridview to that similar on the android dev site. search hello gridview
if you look at the API examples that googles has you will find what you are looking for. Have a look in the part of Views
To the examples of Gallery and the sample of Grid.