测试代码块
测试
public OnItemBind<BlogCommentBean> onItemBind = new OnItemBind<BlogCommentBean>() {
@Override
public void onItemBind(@NonNull Card card, @NonNull BlogCommentBean item) {
CardExtra cardExtra = new CardExtra();
cardExtra.putExtra(BlogCommentHolder.EXTRA_KEY_BLOG_OWNER, userName);
cardExtra.putExtra(BlogCommentHolder.EXTRA_KEY_COMMENTAUTH, commentAuth);
cardExtra.putExtra(BlogCommentHolder.EXTRA_KEY_REPLY_LISTENER, new OnBlogCommentReplyListener() {
@Override
public void onReplyCallback(BlogCommentInfo info) {
if (onBlogCommentReplyListener != null) {
info.position = items.indexOf(item);
onBlogCommentReplyListener.onReplyCallback(info);
}
}
});
card.setExtra(cardExtra);
}
};```
时时刻刻大口大口