Nested scrolling as in Yahoo ESports Layout - android

I would like to create a list layout similar to Yahoo Esports app.
They seems to be using some nested scrolling layout but I have no clue how to implement it. I tried to add a recycler view inside another recycler view but the nested scrolling is not working :(
Can someone please help me on this?

Refer to SuperSLiM library https://github.com/TonicArtos/SuperSLiM.This Recycler view library will help you achieve exactly the layout you mentioned above.

Related

Design an expandable list with recycler view and supporting grid layout for child views in android

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.

Has anyone made such horizontal scrolling list in Android?

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.

Android ExpandableListView with Swipe

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.

Gridview like pinterest in horizontal scroll view

I saw this libs, but I want to get horizontal scroll view. How can i do this or someone know more usefull solution or github project?
Any help will be appreciated.
There is an android widget called HorizontalScrollView you can find it here
Android HorizontalScrollView
and there is an example on how to use it here
Example on HorizontalScrollView
Take a look on this library
https://github.com/oasis2008/PinterestListView

Add GridView in listView in android like Dropbox View

How can I add Grid View to the ListView.I could able to Implement but the problem is Grid View is not Visible its full height. I want to implement just like the Dropbox Photo CustomView which I have attached below. Please guide me in correct Path.
Thanks,
Chaitanya
Using github.com/TonicArtos/StickyGridHeaders library for placing headers in gridview and refer this article http://www.programering.com/a/MjN0ITMwATU.html where is the demo as what are u expecting.
The thing is that you are not supposed to add a scrollable view into another scrollable view. Both ListView and GridView are scrollable, so that just leads to trouble. I suspect that the Dropbox app does not use a GridView, but multiple LinearLayouts, that's at least what I would do. You just can not use an adapter in that case, but need to add the layouts and elements programmatically.

Categories

Resources