StickyScrollViewItems
StickyScrollViewItems copied to clipboard
A small android library for tagging views inside a ScrollView as "sticky" making them stick to the top of the scroll container until a new sticky view comes and takes it's place
When using the gradle dependency, the `com.emilsjolander.components.StickyScrollViewItems.` prefix has to be used in the `StickyScrollView` XML tags. Added as clarification.
Updating to a more recent gradle and android build tools to solve generated Resource index value inconsistencies. Specifically, the index values for R.styleable.StickyScrollView_stuckShadowHeight and R.styleable.StickyScrollView_stuckShadowDrawable were transposed at runtime, leading...
You can listen changes state of sticky view
I've used sticky tag for tab layout in my NestedScrollView, but even when the tab layout is stuck I am not able to use horizontal scroll of tab layout
This fixes some typos in the file and also adds some consistency with Java naming conventions.
Hi there, The sticky view is always transparent with just the stick tag not -hastransparancy. Help please! Thanks, Ray
I want to stick 2 views 1 below other, How to do that?
Got the following NPE inside the library ``` Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getTop()' on a null object reference at com.emilsjolander.components.StickyScrollViewItems.StickyScrollView.getTopForViewRelativeOnlyChild(StickyScrollView.java:130) at com.emilsjolander.components.StickyScrollViewItems.StickyScrollView.onTouchEvent(StickyScrollView.java:262) at android.view.View.dispatchTouchEvent(View.java:8476) at...
What is the problem?
public class StickyScrollView extends NestedScrollView https://stackoverflow.com/questions/27083091/recyclerview-inside-scrollview-is-not-working