daimajia / daimajia/AndroidSwipeLayout
Inflate swipe layout opened (dragged)
- Dominant language
- Java
- Stars
- 12.3k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I am trying to inflate all my list items opened (dragged to left), but I don't really know how. On the xml there is no property to set for the view to be created like that. I have also tried to call open(false, false) or simple open() on method "onBindViewHolder" of my RecyclerViewAdapter, but with no success. I suppose when I call it, the item is not yet inflated.
Any ideas ?
Thanks,
Vladut
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the RecyclerViewAdapter's onBindViewHolder path and the SwipeLayout open(false, false) and open() methods mentioned in the report. Check when the item view is inflated and whether the XML layout exposes an opened or dragged state. Done means establishing a supported way to create list items already swiped open, with the behavior verified in the relevant Android usage or example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100