mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-23 12:53:08 +00:00
fix compile errors
This commit is contained in:
parent
9abbae522f
commit
de3acdacae
6 changed files with 13 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'android-maven'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-kapt'
|
||||
|
||||
android {
|
||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||
|
@ -63,7 +64,7 @@ dependencies {
|
|||
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.1', {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
})
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
||||
|
||||
}
|
||||
repositories {
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
package de.nicidienase.chaosflix.common.entities.recording
|
||||
|
||||
import android.arch.persistence.room.Dao
|
||||
|
||||
@Dao
|
||||
interface ConferenceDao{
|
||||
|
||||
}
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
package de.nicidienase.chaosflix.common.entities.recording
|
||||
|
||||
import android.arch.persistence.room.Dao
|
||||
|
||||
@Dao
|
||||
interface EventDao{
|
||||
|
||||
}
|
|
@ -1,5 +1,8 @@
|
|||
package de.nicidienase.chaosflix.common.entities.recording
|
||||
|
||||
import android.arch.persistence.room.Dao
|
||||
|
||||
@Dao
|
||||
interface RecordingDao{
|
||||
|
||||
}
|
|
@ -14,7 +14,7 @@ interface PlaybackProgressDao{
|
|||
@Query("SELECT * from playback_progress")
|
||||
fun getAll(): Flowable<List<PlaybackProgress>>
|
||||
|
||||
@Query("SELECT * from playback_progress WHERE event_id = :arg0 LIMIT 1")
|
||||
@Query("SELECT * from playback_progress WHERE event_id = :id LIMIT 1")
|
||||
fun getProgressForEvent(id:Int): Flowable<PlaybackProgress>
|
||||
|
||||
@Insert
|
||||
|
|
|
@ -12,7 +12,7 @@ interface WatchlistItemDao {
|
|||
@Query("SELECT * from watchlist_item")
|
||||
fun getAll(): LiveData<List<WatchlistItem>>
|
||||
|
||||
@Query("SELECT * from watchlist_item WHERE id = :arg0 LIMIT 1")
|
||||
@Query("SELECT * from watchlist_item WHERE id = :id LIMIT 1")
|
||||
fun getItemForEvent(id:Int): LiveData<WatchlistItem>
|
||||
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
|
|
Loading…
Reference in a new issue