Skip to content
Browse files

Realized I made a horrible mistake, because as the views are reused, …

…a description text that was previously invisible could stay that way when reusing that layout.
  • Loading branch information...
1 parent 4dd7d19 commit c615f660c8b610268f08d266d9109a153dba8568 @roughike committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 swipe-selector/src/main/java/com/roughike/swipeselector/SwipeAdapter.java
View
1 swipe-selector/src/main/java/com/roughike/swipeselector/SwipeAdapter.java
@@ -322,6 +322,7 @@ public Object instantiateItem(ViewGroup container, int position) {
if (slideItem.description == null) {
description.setVisibility(View.GONE);
} else {
+ description.setVisibility(View.VISIBLE);
description.setText(slideItem.description);
}

0 comments on commit c615f66

Please sign in to comment.
Something went wrong with that request. Please try again.