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
Related
Hello first of all i'm a newbie for the libraries stuff.
I found a Demo Project on Github here but it contains more than i need
I want this like Slider
Image
I have optimized it but its not working. So someone here, please take a look and guide me
Or any other stuff by which i can make that like layout?
Need to use padding for SlidingTabStrip. TabLayout has only app:tabContatentStart property, but you need to set both sides for this behavior.
Look here: https://stackoverflow.com/a/36886331/651770
I am new for android developer. I need to build image view to my apps . Here is the library that i used.
https://github.com/chrisbanes/PhotoView
Everything is working good. Here is my question is it possible make it to vertical paging? Instead of swipe left or right to pagging. Please guide me some example also.
Thanks
I'm guessing that the parent to the PhotoView library is a ViewPager, which is, as you say, horizontally aligned. There's not native VerticalViewPager, but there are examples of customized solutions that devs have come up with for this. Here's and example of one build from a ScrollView. As a simpler first step you could even try swapping over to the native ScrollView as your parent view and then customize from there.
I've searched for libraries, but i have found that existing libraries only support vertical slider. Anyone know any library capable of handle things such as “automatic collapse item when another is clicked”, and so on.
I'm not asking for a piece of code that ilustrate how to do it. Instead, i'm looking for something more robust and tested, like this library https://github.com/tjerkw/Android-SlideExpandableListView, but it must support horizontal slider.
Thanks.
This library is just what I needed it
I want to develop a layout with a very simple ImageView and a Listview binded in a Relativelayout . Now for a better user experience I want to delete the Image view by swiping it left or right same like what is implemented in android Gmail app to delete emails.
Implementing it on a listview item is very simple and there are many tuts and sample codes are available over the internet including the official Google I/O talk on animation and explained in a very good way by Chet Hasse here
https://www.youtube.com/watch?v=YCHNAi9kJI4
but I don't require to implement it on the listview items insted I want to implement it in more generic way. In my case I want the same behaviour for my ImageView item as one view and ListView another . Like shown below
As soon as the ImageView item is deleted the whole ListView should smoothly come on the top.
I have tried many way to implement the same without any success.
Suggest me the approach or some samples to do this which is supported in Gingerbread and above android OS.
You can use this code:
https://github.com/romannurik/Android-SwipeToDismiss/blob/master/src/com/example/android/swipedismiss/SwipeDismissTouchListener.java
As described in readme this code works for android 14+.
You can use the NineOldAndroids library to support old versions of Android, or use the Jake Wharton's port:
https://github.com/JakeWharton/SwipeToDismissNOA
I looked around and found this helpful.
https://github.com/nhaarman/ListViewAnimations
I implemented a custom ViewGroup that takes one child and allows you to drag/fling it to the left with a callback once the swipe is complete. My intention was for it to work just like in a RecyclerView. Works well in a LinearLayout with animateLayoutChanges=true and setting the visibility to GONE in the callback.
Gist here: https://gist.github.com/darnmason/38a1a5178a06470202784050f4dc1cdf
All you need is this library: https://github.com/timroes/EnhancedListView
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