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 android.os.Parcelable | |
import com.google.gson.JsonDeserializationContext | |
import com.google.gson.JsonDeserializer | |
import com.google.gson.JsonElement | |
import java.lang.reflect.ParameterizedType | |
import java.lang.reflect.Type | |
sealed class ResponseWrapper<out T> { | |
class Anomaly(val value: com.xxx.model.wrapper.Anomaly) : ResponseWrapper<Nothing>() | |
class Single<T : Parcelable>(val value: T) : ResponseWrapper<T>() |
OlderNewer