Last active
November 21, 2019 17:38
-
-
Save RoRoche/d62a9fff3c66cb2503c0247ec47d6b2c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import androidx.lifecycle.LiveData | |
import androidx.work.Operation | |
import androidx.work.WorkInfo | |
interface ManagedRestRequest { | |
fun operation(): Operation | |
fun liveData(): LiveData<WorkInfo> | |
fun cancel(): Operation | |
abstract class Wrap protected constructor( | |
private val origin: ManagedRestRequest | |
) : ManagedRestRequest by origin | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment