fix an issue manually seeking during playback
This commit is contained in:
parent
eb5b4787ed
commit
8327c7d1ba
6 changed files with 44 additions and 16 deletions
|
|
@ -8,6 +8,8 @@ import androidx.room.Query;
|
|||
|
||||
import com.dkanada.gramophone.model.Server;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Dao
|
||||
public interface ServerDao {
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
|
|
@ -16,6 +18,9 @@ public interface ServerDao {
|
|||
@Delete
|
||||
void deleteServer(Server server);
|
||||
|
||||
@Query("SELECT * FROM servers")
|
||||
List<Server> getServers();
|
||||
|
||||
@Query("SELECT * FROM servers WHERE id = :id")
|
||||
Server getServer(String id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue