Skip to content

Commit

Permalink
Update README-cn
Browse files Browse the repository at this point in the history
添加自定义ViewHolder的说明
  • Loading branch information
elfman committed Oct 24, 2016
1 parent 5c265dd commit 31a4a6b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,16 @@ public class ExpandableUseActivity extends Activity {
}
```

Use Custom BaseViewHolder
```Java

// 当使用自定义的BaseViewHolder时,需要重写此函数以创建ViewHolder
protected K createBaseViewHolder(View view) {
return (K) new BaseViewHolder(view);
}

```

>**持续更新!,所以推荐Star项目**

#感谢
Expand Down

0 comments on commit 31a4a6b

Please sign in to comment.