Skip to content

Commit

Permalink
Mark IViewGroupManager interface as @nullsafe (facebook#43157)
Browse files Browse the repository at this point in the history
Summary:

IViewGroupManager is NullSafe, let's mark them as NullSafe(Local) to ensure lint detect errors in the future

changelog: [internal] internal

Reviewed By: rshest

Differential Revision: D54034058
  • Loading branch information
mdvacca authored and facebook-github-bot committed Feb 22, 2024
1 parent 0daf97c commit 80c307d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
package com.facebook.react.uimanager;

import android.view.View;
import com.facebook.infer.annotation.Nullsafe;
import com.facebook.react.bridge.UiThreadUtil;

/** Interface providing children management API for view managers of classes extending ViewGroup. */
@Nullsafe(Nullsafe.Mode.LOCAL)
public interface IViewGroupManager<T extends View> extends IViewManagerWithChildren {

/** Adds a child view into the parent at the index specified as a parameter */
Expand Down

0 comments on commit 80c307d

Please sign in to comment.