Is there any libraries to create such UI? I can't formulate right query search. Other items of list are visible while scrolling or viewing one of them
I found satisfying library custom view pager
Horizontal View Pager is what you are looking for. You can find many libraries such as DiscreteScrollView.
Related
Is there any Library or Custom way to arrange the Recycler List items as mentioned in Below Image?
Here Profile Image is Static that can be ignored and other circular Items are Recycler view Items for which I need the solution.
I have gone through many Articles and Libraries, but didn't found any relative method. Any Guidance will be helpful.
I was able to Achieve this using StaggeredGridLayoutManager as mentioned by Maddy.
The only Tweek I had to do was, adding Top Margin to 2nd Item in Adapter. Rest UI for following Items is managed by the StaggeredGrid.
I am trying to design a recycler view with expandable design , it will have groups which on click would open and show child views. But the child views need to support linear layout and grid layout as well.
Currently I am using a recycler view within another recycler view to achieve the same, and used expandable layout for expanding collapsing items. This does get me the desired effect but neither is it a good programming practice and nor is it bug free. It does some unexpected things at all times, which is really annoying and a bad UX experience.
Please tell me other reliable and bug free ways to do it.
This image is approximately what I am trying to achieve. Cannot show the actual work I have done because of company policy.
I am not asking to source code to solve my problem, but some general design directions to achieve the same goal. As mentioned before, what I did, using recycler view inside another did do the trick, but also created other problems(unpredicatble behaviour to say the least.)
It seems like using nested scroll view and setting the inner recycler views to 'setNestedScrollingEnabled(false)' did the trick. Now I can make what I wanted to after all.
I'm just curious.
Is it possible to combine an ExpandableListView with a Swipe-function in Android? To explain what I mean, imagine this scenario:
You touch an item in the list, a view is expanded. In this View you are able to swipe to left/right in order to view a new View without changing the background.
Comment if you don't understand, please!
Thanks in advance!
I am not sure about the version of Android you are using, but if you can use the AppCompat library v22, you can actually use a CoordinatorLayout and do an expansion of the view onTouch. Afterwards, in one of your child layouts, you can set the SwipeDismissBehavioron the expanded view (which should be a child of your CoordinatorLayout). This is one of the coolest new functionalities in Android. You should read more about it here.
http://developer.android.com/reference/android/support/design/widget/SwipeDismissBehavior.html
You can use https://github.com/tycallen/SwipeMenu-Expandable-ListView for Swipable ExpandableListView.
I'm on a research to design a ListView with horizontal scroll of views - something like in the facebook app.
I also need to implement a caching for the horizontally scrollable views.
Some of the options I can think of are:
Horizontal scroll view items.
A ViewPager which I understand is not quite good for this task.
What would be my way to go on this?
I've read some StackOverflow questions and am still researching but none of what I read so far also implement caching for the scrolled horizontal views.
Just use two RecyclerViews which are nested. The backing data is a two dimensional array as the layout is two-dimensional. The outer RecyclerView passes the data for the inner RecyclerView when the onBindViewHolder of the adapter is called. Additionally you may also use different layouts or ViewHolder respectively if the inner view consists only of a single item and does not require horizontal scrolling.
Some references about implementing RecyclerViews
Here: http://www.bignerdranch.com/blog/recyclerview-part-1-fundamentals-for-listview-experts/
Here: https://developer.android.com/reference/android/support/v7/widget/RecyclerView.html
and here: https://developer.android.com/training/material/lists-cards.html
This will help you. You can use caching while scrolling. For example if you load images with horizontal scroll bar, you could use picasso library for catching and loading images.
Dont think big we have some library that will do what you want below listed some of them
https://github.com/sephiroth74/HorizontalVariableListView
https://github.com/EmirWeb/parchment
https://github.com/MeetMe/Android-HorizontalListView
any one this link will help you i belive
https://guides.codepath.com/android/Implementing-a-Horizontal-ListView-Guide
https://www.airpair.com/android/horizontal-image-galleries-android-studio
must implement this design and functionality, but can not make elements horizontal swipe in list like picture on link.
I will be glad for any suggestions)
using this library https://github.com/47deg/android-swipelistview you can implement this.