|
|
@ -45,14 +45,12 @@ public class AdapterLog extends RecyclerView.Adapter<AdapterLog.ViewHolder> {
|
|
|
|
private static final DateFormat DF = SimpleDateFormat.getTimeInstance();
|
|
|
|
private static final DateFormat DF = SimpleDateFormat.getTimeInstance();
|
|
|
|
|
|
|
|
|
|
|
|
public class ViewHolder extends RecyclerView.ViewHolder {
|
|
|
|
public class ViewHolder extends RecyclerView.ViewHolder {
|
|
|
|
View itemView;
|
|
|
|
private TextView tvTime;
|
|
|
|
TextView tvTime;
|
|
|
|
private TextView tvData;
|
|
|
|
TextView tvData;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ViewHolder(View itemView) {
|
|
|
|
ViewHolder(View itemView) {
|
|
|
|
super(itemView);
|
|
|
|
super(itemView);
|
|
|
|
|
|
|
|
|
|
|
|
this.itemView = itemView;
|
|
|
|
|
|
|
|
tvTime = itemView.findViewById(R.id.tvTime);
|
|
|
|
tvTime = itemView.findViewById(R.id.tvTime);
|
|
|
|
tvData = itemView.findViewById(R.id.tvData);
|
|
|
|
tvData = itemView.findViewById(R.id.tvData);
|
|
|
|
}
|
|
|
|
}
|
|
|
|