Luke
04/15/2025, 7:43 PMfun interface OnCompleteListener<T> {
fun onCompleted(result: Result<T>?)
}
With this, the result
parameter compiles to a nullable Result
type. If I make result
not nullable, then the parameter compiles to a not nullable Object
. Is there a way to make it compile to a non nullable Result
?Luke
04/15/2025, 7:57 PMResult
is a value class?