Files
react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactZIndexedViewGroup.java
T
Andres Suarez 8bd3edec88 Update copyright headers from Facebook to Meta
Reviewed By: aaronabramov

Differential Revision: D33367752

fbshipit-source-id: 4ce94d184485e5ee0a62cf67ad2d3ba16e285c8f
2021-12-30 15:11:21 -08:00

26 lines
711 B
Java

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.uimanager;
/** ViewGroup that supports z-index. */
public interface ReactZIndexedViewGroup {
/**
* Determine the index of a child view at {@param index} considering z-index.
*
* @param index The child view index
* @return The child view index considering z-index
*/
int getZIndexMappedChildIndex(int index);
/**
* Redraw the view based on updated child z-index. This should be called after updating one of its
* child z-index.
*/
void updateDrawingOrder();
}