mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-04 22:56:32 +08:00
Cleanup android warnings related to static interface declarations
Reviewed By: fkgozali Differential Revision: D7853681 fbshipit-source-id: d342e9dc9a1efa921d1421d545798e0b706745b4
This commit is contained in:
committed by
Facebook Github Bot
parent
b7562818e6
commit
1e68ca7dc8
@@ -34,7 +34,7 @@ public class ShakeDetector implements SensorEventListener {
|
||||
|
||||
private float mAccelerationX, mAccelerationY, mAccelerationZ;
|
||||
|
||||
public static interface ShakeListener {
|
||||
public interface ShakeListener {
|
||||
void onShake();
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ import android.widget.FrameLayout;
|
||||
*/
|
||||
public class SizeMonitoringFrameLayout extends FrameLayout {
|
||||
|
||||
public static interface OnSizeChangedListener {
|
||||
public interface OnSizeChangedListener {
|
||||
void onSizeChanged(int width, int height, int oldWidth, int oldHeight);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user