Might there a way to make a platform type non null...
# announcements
d
Might there a way to make a platform type non nullable in the interface? With:
Copy code
interface SharedPreferencesBuilder {
    fun build(): SharedPreferences
}
I have to denote the type in each implementation since the compiler warns me about the platform type
q
@NonNull should work. There is a bug for this iirc.
d
Thank you but sadly not 😕 Tried it will a few non null annotations and I still get the IDE warning