Toggle navigation
Toggle navigation
This project
Loading...
Sign in
cse437_e
/
smartdoorlock-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
오윤석
2020-11-17 00:13:16 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a6b36d2b9b14e9acf1fa0093dd890029a1fa8339
a6b36d2b
1 parent
75970802
RemoteRecord class 필드명 변경 (통일성)
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
app/src/main/java/com/sunnni/smartdoorlock/data/RemoteRecord.java
app/src/main/java/com/sunnni/smartdoorlock/ui/RemoteRecordRvAdapter.java
app/src/main/java/com/sunnni/smartdoorlock/data/RemoteRecord.java
View file @
a6b36d2
...
...
@@ -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
=
n
ame
;
this
.
remoteDate
=
date
;
public
RemoteRecord
(
String
deviceName
,
String
created
){
this
.
deviceName
=
deviceN
ame
;
this
.
created
=
created
;
}
public
String
getDeviceName
()
{
return
deviceName
;
}
public
String
get
RemoteDate
()
{
return
remoteDate
;
public
String
get
Created
()
{
return
created
;
}
}
...
...
app/src/main/java/com/sunnni/smartdoorlock/ui/RemoteRecordRvAdapter.java
View file @
a6b36d2
...
...
@@ -30,7 +30,7 @@ public class RemoteRecordRvAdapter extends RecyclerView.Adapter<RemoteRecordRvAd
void
bind
(
RemoteRecord
record
){
mTvDeviceName
.
setText
(
record
.
getDeviceName
());
mTvRemoteDate
.
setText
(
record
.
get
RemoteDate
());
mTvRemoteDate
.
setText
(
record
.
get
Created
());
}
}
...
...
Please
register
or
login
to post a comment