VideoPlayViewModel$1.smali
.class final Lcom/imo/android/imoim/player/VideoPlayViewModel$1;
.super Lsg/bigo/nerv/GlobalEventListener;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/imo/android/imoim/player/VideoPlayViewModel;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/player/VideoPlayViewModel;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/player/VideoPlayViewModel;)V
.registers 2
.line 45
iput-object p1, p0, Lcom/imo/android/imoim/player/VideoPlayViewModel$1;->a:Lcom/imo/android/imoim/player/VideoPlayViewModel;
invoke-direct {p0}, Lsg/bigo/nerv/GlobalEventListener;-><init>()V
return-void
.end method
# virtual methods
.method public final OnEvent(Lsg/bigo/nerv/GlobalEvent;Ljava/lang/String;)V
.registers 5
.line 48
iget-object v0, p0, Lcom/imo/android/imoim/player/VideoPlayViewModel$1;->a:Lcom/imo/android/imoim/player/VideoPlayViewModel;
invoke-static {v0}, Lcom/imo/android/imoim/player/VideoPlayViewModel;->a(Lcom/imo/android/imoim/player/VideoPlayViewModel;)Landroidx/lifecycle/MutableLiveData;
move-result-object v0
invoke-virtual {v0, p1}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V
.line 49
sget-object v0, Lsg/bigo/nerv/GlobalEvent;->HTTP_START:Lsg/bigo/nerv/GlobalEvent;
if-eq p1, v0, :cond_11
sget-object v0, Lsg/bigo/nerv/GlobalEvent;->HTTP_END:Lsg/bigo/nerv/GlobalEvent;
if-ne p1, v0, :cond_25
.line 50
:cond_11
iget-object v0, p0, Lcom/imo/android/imoim/player/VideoPlayViewModel$1;->a:Lcom/imo/android/imoim/player/VideoPlayViewModel;
invoke-static {v0}, Lcom/imo/android/imoim/player/VideoPlayViewModel;->b(Lcom/imo/android/imoim/player/VideoPlayViewModel;)I
move-result v0
invoke-static {v0}, Lcom/imo/android/imoim/player/VideoPlayActivity;->a(I)Lcom/imo/android/imoim/player/d;
move-result-object v0
sget-object v1, Lsg/bigo/nerv/GlobalEvent;->HTTP_START:Lsg/bigo/nerv/GlobalEvent;
if-ne p1, v1, :cond_21
const/4 p1, 0x1
goto :goto_22
:cond_21
const/4 p1, 0x0
:goto_22
invoke-virtual {v0, p1, p2}, Lcom/imo/android/imoim/player/d;->a(ZLjava/lang/String;)V
:cond_25
return-void
.end method