mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-07 09:27:29 +08:00
Turn FlatViewManager into ViewGroupManager
Summary: Views that can contain other Views need to have their ViewManager to extend ViewGroupManager. Otherwise, it may not remove child Views correctly when a parent View is being detached. This diff is changing FlatViewManager that create FlatViewGroups (that can have child Views) to extend from ViewGroupManager. Reviewed By: ahmedre Differential Revision: D2768667
This commit is contained in:
committed by
Ahmed El-Helw
parent
94052261d1
commit
85cdfcd1f7
@@ -12,7 +12,7 @@ package com.facebook.react.flat;
|
||||
/**
|
||||
* ViewManager that creates instances of RCTView.
|
||||
*/
|
||||
/* package */ final class RCTViewManager extends FlatViewManager<RCTView> {
|
||||
/* package */ final class RCTViewManager extends FlatViewManager {
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
|
||||
Reference in New Issue
Block a user