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
This issue is about adding the missing nullability annotations (@Nullable & @NonNull) to all SDK @Override related methods to as many Java-related Activity & Fragment classes as possible.
FYI: As a reference , an example would be to add the missing @Nullable annotation to the Bundle savedInstanceState parameter of the @Override onCreate(...) method. The missing @Nullable or @NonNull nullability annotation of the parameter (or return value) on any @Override method can known by simply going to the super method and seeing its signature.
The content you are editing has changed. Please copy your edits and refresh the page.
ParaskP7
changed the title
Nullability Annotations to Java Classes - Activity & Fragment - @Override Methods
Nullability Annotations to Java Classes - Activity & Fragment - SDK @Override Methods
Aug 10, 2023
Parent #18905
This issue is about adding the missing nullability annotations (
@Nullable
&@NonNull
) to all SDK@Override
related methods to as many Java-relatedActivity
&Fragment
classes as possible.FYI: As a reference , an example would be to add the missing
@Nullable
annotation to theBundle savedInstanceState
parameter of the@Override onCreate(...)
method. The missing@Nullable
or@NonNull
nullability annotation of the parameter (or return value) on any@Override
method can known by simply going to the super method and seeing its signature.Tasks (
Horizontal Approach
)Tasks (
Vertical Approach (Safe)
)onCreate(...)
Methods (safe
) #19096onMenu(...)
Methods (relatively safe
) #19164Tasks (
Vertical Approach (Risky)
)onNewIntent(...)
Methods (risky
) #19100The text was updated successfully, but these errors were encountered: