-
public class Optional<T>
Optional wrapper can be to pass nullable value safely through RxJava2 stream. Though Android supports this construct since API level 24, using it is not viable because the SDK has to support lower API levels.
-
-
Constructor Summary
Constructors Constructor Description Optional(T value)
Constructs a new optional value
-