Skip to content

Commit

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

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

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: rshest

Differential Revision: D54034058

fbshipit-source-id: ad317c73d45fdd801aeee65d5308400e2e1c8552
  • Loading branch information
mdvacca authored and facebook-github-bot committed Feb 23, 2024
1 parent c77c13a commit 52a70d7
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 52a70d7

Please sign in to comment.