You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2020. It is now read-only.
Java 8 has type annotations so it can be used to infer type parameters inside collections.
Unfortunately, it is not backported in android (min sdk=26, not sure if the app will crash for compile-time annotation).
One workaround is to use checker framework compiler - https://checkerframework.org/jsr308/ and use something like.
It brings an extra dependency though.