Comments (6)
@AndroidDeveloperLB
Thank you for your feedback and sorry for my late reply.
It seems difficult but I think it's possible.
Maybe it's like SlidingUpListViewActivity
that uses TouchInterceptionFrameLayout
of this library.
(SlidingUp examples moves ObservableView using TouchInterceptionFrameLayout
.)
I'll try when I have time.
from android-observablescrollview.
Thank you. I've come with a solution, but I think it's a bad one and hope there is a better way:
http://stackoverflow.com/q/27997948/878126
When using a translationY, it causes weird issues of clicking on the items of the RecyclerView (when the upper area is shown). so I can click on the first item, yet the second (or third) item is shown as clicked. That's why I used padding instead.
I think the best thing is to change the layout params of the upper area, and also make it change its size using a customized RecyclerView that allows to block scrolling of itself via a listener.
Changing the LayoutParams to change the size (and use animation to do so) can be done as I've shown here: http://stackoverflow.com/q/19519921/878126
from android-observablescrollview.
I'd also love to see a sample for that since OPs solution seems to be not that elegant.
from android-observablescrollview.
@danijoo Yes, sorry. That's what I was allowed to do during the given time I had at work.
from android-observablescrollview.
I'm trying to accomplish this by using this other API https://github.com/emilsjolander/StickyListHeaders but I can't figure it out how to use both at the same time with the same ListView.
from android-observablescrollview.
@matrpedreira I don't know how to help, but maybe this repo is a better start:
https://github.com/edsilfer/sticky-index
?
You can also try one of mine.
from android-observablescrollview.
Related Issues (20)
- Could I get right ObservableRecyclerView#mScrollY when ObservableRecyclerView#scrollToPosition(int) called ?
- Viewpager with ObservableScrollView with Viewpager HOT 1
- Overscroll and scale image
- Use TouchInterceptionFrameLayout in Viewpager
- server image is not working parallex
- Title at horizontally center in FlexibleSpaceToolbarScrollViewActivity
- ObservableScrollView vs Collapsing Toolbar ? HOT 1
- Overscroll indicator missing for sticky header
- Issue in FlexibleSpaceWithImageGridViewActivity.java when we have odd number of item
- Getting error in making signed apk when i use this library
- how can i expand header
- ViewPagerTabRecyclerViewFragment : onclick triggered when scrolling up or down
- AndroidX compatibility
- onTouchEvent bug when using ObservableWebView inside NestedScrollView
- Library not compatible with AndroidX HOT 3
- Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.os.BaseBundle.getInt(java.lang.String)' on a null object reference HOT 1
- 快速滑动崩溃
- WhatsApp uses this library
- this library has some conflicts with AndroidX HOT 2
- . HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-observablescrollview.