diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java index 01e85098a..166437e91 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -253,7 +253,10 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe @Override public void onRemove() { - mLiveAudienceViewHolder.removeCallbacks(); + if (mLiveAudienceViewHolder != null) { + mLiveAudienceViewHolder.removeCallbacks(); + } + mLiveAudienceViewHolder = null; //断开socket if (mSocketRyClient != null) { diff --git a/live/src/main/res/drawable/loading_animation.xml b/live/src/main/res/drawable/loading_animation.xml index e5e8157eb..4a98f36b8 100644 --- a/live/src/main/res/drawable/loading_animation.xml +++ b/live/src/main/res/drawable/loading_animation.xml @@ -3,52 +3,52 @@ + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> + android:duration="100" /> \ No newline at end of file