Comments (5)
Can you explain why you want to use this library for a mobile app? Which feature are you missing from the standard RecyclerView library?
from dpadrecyclerview.
@rubensousa
Standard recycler view is perfect there is no issue with it. But I wanted to use same app in TV and mobile. As in this library you used recycler view instead of Leanback gridview and modify layout manager to handle focus and scrolling behaviour in nested recyclerview and gridview. So I tried to use the dpad recycler view on mobile devices with touch scrolling behaviour. Can we use it or is there any way to support it in mobile as well?
from dpadrecyclerview.
@HarshaliSachani If you're building 2 different apps (tv and mobile), I wouldn't combine DpadRecyclerView
. I only introduced basic touch support for this component. So my advise is to stick with plain RecyclerView
for the mobile app and only use DpadRecyclerView
for tvs or automotive projects that require both dpad and touch support.
However, I also plan to work on this sometime, which would improve touch support: #85
from dpadrecyclerview.
@HarshaliSachani any update here?
from dpadrecyclerview.
Added DpadSelectionSnapHelper
that helps with this in 1.3.0-alpha04
from dpadrecyclerview.
Related Issues (20)
- Allow skipping layout requests during scroll
- Expose ViewHolder focus state
- Add support for custom parent alignment based on ViewHolder position
- Add support for linear circular focus
- Gridrecyclerview with height 0.5 of the screen height - alignment problem (last row cut off) HOT 14
- First item of first row is smaller then all the others HOT 4
- Fast scrolling - loosing focus when having images from an url in the items HOT 21
- Scrolling issue when loading images in onBindViewHolder HOT 9
- Scroll a nested recyclerview to a specific item (without focussing it) HOT 3
- Bug: DpadSpanSizeLookup's getSpanSize function is being called infinitely after removing an item HOT 8
- Bug: Last row not getting focused while using DpadSpanSizeLookup HOT 1
- Bug: DpadSpanSizeLookup's getSpanSize function is being called infinitely while fast scrolling HOT 19
- Focus does not leave DpadRecyclerView in some cases when using Compose HOT 1
- Do not allow focusing other rows if grids are incomplete
- how to center scroll like CenterLayoutManager in horizontal HOT 1
- OnViewFocused is not called for parent RecyclerView if child does not attach a listener
- DpadRecyclerView shouldn't lose focus if adapter is cleared
- Nested Child recycler view onCreate called every time during parent recycler view scroll. HOT 9
- Incorrect predictive animation after adapter changes
- java.lang.IllegalStateException: Cannot call removeView(At) within removeView(At) HOT 8
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 dpadrecyclerview.