Java Code Examples for com.facebook.react.views.view.ReactViewGroup#setTag()

The following examples show how to use com.facebook.react.views.view.ReactViewGroup#setTag() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SharedElementViewManager.java    From native-navigation with MIT License 4 votes vote down vote up
@ReactProp(name = "id")
public void setIdentifier(ReactViewGroup view, String id) {
  view.setTag(R.id.react_shared_element_transition_name, id);
}
 
Example 2
Source File: SharedElementViewManager.java    From native-navigation with MIT License 4 votes vote down vote up
@ReactProp(name = "nativeNavigationInstanceId")
public void setInstanceId(ReactViewGroup view, String instanceId) {
  view.setTag(R.id.react_shared_element_screen_instance_id, instanceId);
}
 
Example 3
Source File: SharedElementGroupManager.java    From native-navigation with MIT License 4 votes vote down vote up
@ReactProp(name = "id")
public void setIdentifier(ReactViewGroup view, String id) {
  view.setTag(R.id.react_shared_element_group_id, id);
}