Showing
2 changed files
with
7 additions
and
7 deletions
... | @@ -2,18 +2,18 @@ package com.sunnni.smartdoorlock.data; | ... | @@ -2,18 +2,18 @@ package com.sunnni.smartdoorlock.data; |
2 | 2 | ||
3 | public class RemoteRecord { | 3 | public class RemoteRecord { |
4 | private String deviceName; | 4 | private String deviceName; |
5 | - private String remoteDate; | 5 | + private String created; |
6 | 6 | ||
7 | - public RemoteRecord(String name, String date){ | 7 | + public RemoteRecord(String deviceName, String created){ |
8 | - this.deviceName = name; | 8 | + this.deviceName = deviceName; |
9 | - this.remoteDate = date; | 9 | + this.created = created; |
10 | } | 10 | } |
11 | 11 | ||
12 | public String getDeviceName() { | 12 | public String getDeviceName() { |
13 | return deviceName; | 13 | return deviceName; |
14 | } | 14 | } |
15 | 15 | ||
16 | - public String getRemoteDate() { | 16 | + public String getCreated() { |
17 | - return remoteDate; | 17 | + return created; |
18 | } | 18 | } |
19 | } | 19 | } | ... | ... |
... | @@ -30,7 +30,7 @@ public class RemoteRecordRvAdapter extends RecyclerView.Adapter<RemoteRecordRvAd | ... | @@ -30,7 +30,7 @@ public class RemoteRecordRvAdapter extends RecyclerView.Adapter<RemoteRecordRvAd |
30 | 30 | ||
31 | void bind(RemoteRecord record){ | 31 | void bind(RemoteRecord record){ |
32 | mTvDeviceName.setText(record.getDeviceName()); | 32 | mTvDeviceName.setText(record.getDeviceName()); |
33 | - mTvRemoteDate.setText(record.getRemoteDate()); | 33 | + mTvRemoteDate.setText(record.getCreated()); |
34 | } | 34 | } |
35 | } | 35 | } |
36 | 36 | ... | ... |
-
Please register or login to post a comment