mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-04 22:56:32 +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
@@ -9,7 +9,7 @@
|
||||
|
||||
package com.facebook.react.flat;
|
||||
|
||||
/* package */ final class RCTImageViewManager extends FlatViewManager<RCTImageView> {
|
||||
/* package */ final class RCTImageViewManager extends FlatViewManager {
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
|
||||
Reference in New Issue
Block a user