mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-01 06:22:39 +08:00
Fix removal of virtual nodes in FabricReconciler
Reviewed By: mdvacca Differential Revision: D7338949 fbshipit-source-id: 31263c138689f9b3f59deb26851132df04b8a823
This commit is contained in:
committed by
Facebook Github Bot
parent
cf036dbc7a
commit
c0d27de37e
@@ -29,8 +29,17 @@ public class ViewAtIndex {
|
||||
mIndex = index;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == null || obj.getClass() != getClass()) {
|
||||
return false;
|
||||
}
|
||||
ViewAtIndex other = (ViewAtIndex) obj;
|
||||
return mIndex == other.mIndex && mTag == other.mTag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "[" + mIndex + ", " + mTag + "]";
|
||||
return "[" + mTag + ", " + mIndex + "]";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user