오윤석

RemoteRecord class 필드명 변경 (통일성)

......@@ -2,18 +2,18 @@ package com.sunnni.smartdoorlock.data;
public class RemoteRecord {
private String deviceName;
private String remoteDate;
private String created;
public RemoteRecord(String name, String date){
this.deviceName = name;
this.remoteDate = date;
public RemoteRecord(String deviceName, String created){
this.deviceName = deviceName;
this.created = created;
}
public String getDeviceName() {
return deviceName;
}
public String getRemoteDate() {
return remoteDate;
public String getCreated() {
return created;
}
}
......
......@@ -30,7 +30,7 @@ public class RemoteRecordRvAdapter extends RecyclerView.Adapter<RemoteRecordRvAd
void bind(RemoteRecord record){
mTvDeviceName.setText(record.getDeviceName());
mTvRemoteDate.setText(record.getRemoteDate());
mTvRemoteDate.setText(record.getCreated());
}
}
......