mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Search page renewed
This commit is contained in:
parent
a4dc5f643d
commit
a7fd7688ab
13 changed files with 358 additions and 174 deletions
|
|
@ -8,10 +8,7 @@ import androidx.room.PrimaryKey;
|
|||
@Entity(tableName = "recent_search")
|
||||
public class RecentSearch {
|
||||
@NonNull
|
||||
@PrimaryKey(autoGenerate = true)
|
||||
@ColumnInfo(name = "id")
|
||||
private int id;
|
||||
|
||||
@PrimaryKey
|
||||
@ColumnInfo(name = "search")
|
||||
private String search;
|
||||
|
||||
|
|
@ -20,14 +17,6 @@ public class RecentSearch {
|
|||
}
|
||||
|
||||
@NonNull
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(@NonNull int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getSearch() {
|
||||
return search;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue