daimajia / daimajia/AndroidSwipeLayout
Problem setting differents views to bottomView
Open
- Dominant language
- Java
- Stars
- 12.3k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hello, i want to set diferents options in the bottonview depend on the item.
For example, I'm doing the code below in fillValues:
```
if (position == 0) { //just to make an example
btDelete.setVisibility(View.VISIBLE);
btother.setVisibility(View.GONE);
} else {
btother.setVisibility(View.VISIBLE);
btDelete.setVisibility(View.GONE);
}
```
But the bottomView is recycling views so I'm getting more than one time btDelete visisble.
How can I deal with the recycling views of the bottomview?
Thanks
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.