-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
code:
package com.my.project
import com.mayakapps.kache.FileKache
import com.mayakapps.kache.KacheStrategy
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
class AnilistQuery {
val cache : FileKache // error here...
init {
GlobalScope.launch (Dispatchers.Main)
{
val cache = FileKache(directory = "cache", maxSize = 10 * 1024 * 1024) {
// Other optional configurations
strategy = KacheStrategy.MRU
// ...
}
}
}
error:
i am getting error: Property must be initialized or be abstract
how to use this??
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working