Android Auto: Add permission screen, add selection between nearby and favorites

This commit is contained in:
Johan von Forstner
2021-01-01 17:03:28 +01:00
committed by johan12345
parent ffb0b77f37
commit 04e6f63cd7
6 changed files with 288 additions and 34 deletions

View File

@@ -14,4 +14,7 @@ interface ChargeLocationsDao {
@Query("SELECT * FROM chargelocation")
fun getAllChargeLocations(): LiveData<List<ChargeLocation>>
@Query("SELECT * FROM chargelocation")
suspend fun getAllChargeLocationsAsync(): List<ChargeLocation>
}