Skip to content

Commit 34e2039

Browse files
committed
clear comment
1 parent 171898e commit 34e2039

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

library/src/main/java/com/daimajia/swipe/SwipeAdapter.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ public static enum Mode {
2828
public abstract int getSwipeLayoutResourceId(int position);
2929

3030
/**
31-
* generate a new view item, you don't need to fill any value to this view, you have a chance
31+
* generate a new view item.
32+
* Never bind SwipeListener or fill values here, every item has a chance to fill value or bind
33+
* listeners in fillValues.
3234
* to fill it in {@code fillValues} method.
3335
* @param position
3436
* @param parent
@@ -37,7 +39,7 @@ public static enum Mode {
3739
public abstract View generateView(int position, ViewGroup parent);
3840

3941
/**
40-
* fill values to the view.
42+
* fill values or bind listeners to the view.
4143
* @param position
4244
* @param convertView
4345
*/

0 commit comments

Comments
 (0)