Holder(View itemView) {
super(itemView);
this.tag = (TextView) itemView.findViewById(R.id.log_tag);
this.datetime = (TextView) itemView.findViewById(R.id.log_datetime);
this.body = (TextView) itemView.findViewById(R.id.log_body);
this.buttonShare = itemView.findViewById(R.id.log_button_share);
this.bodyRoot = itemView.findViewById(R.id.log_body_root);
this.buttonExpand = itemView.findViewById(R.id.log_button_expand);
Context context = itemView.getContext();
ImageView icon = (ImageView) itemView.findViewById(R.id.log_icon);
icon.getBackground().setColorFilter(CurrentTheme.getColorPrimary(context), PorterDuff.Mode.MULTIPLY);
icon.setColorFilter(CurrentTheme.getIconColorOnColoredBackgroundCode(context));
}
LogsAdapter.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:Phoenix-for-VK
作者:
评论列表
文章目录