mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 23:13:36 +00:00
Graphic restyling of the interface
This commit is contained in:
@@ -15,6 +15,8 @@ public class AlbumCatalogueViewModel extends AndroidViewModel {
|
||||
private AlbumRepository albumRepository;
|
||||
public LiveData<List<Album>> albumList;
|
||||
|
||||
private String query = "";
|
||||
|
||||
public AlbumCatalogueViewModel(@NonNull Application application) {
|
||||
super(application);
|
||||
|
||||
@@ -25,4 +27,12 @@ public class AlbumCatalogueViewModel extends AndroidViewModel {
|
||||
albumList = albumRepository.getListLiveAlbums();
|
||||
return albumList;
|
||||
}
|
||||
|
||||
public String getQuery() {
|
||||
return query;
|
||||
}
|
||||
|
||||
public void setQuery(String query) {
|
||||
this.query = query;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user