蘑菇視頻 v1.3.4版本的 MD5 值为:b21956b74446eba74a6fe191899b35cf
以下内容为反编译后的 ContactActivity.java 源代码,内容仅作参考
package com.asdfg.pfamobgn0329.ui.activity;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import com.asdfg.pfamobgn0329.api.ApiClient;
import com.asdfg.pfamobgn0329.api.ApiManager;
import com.asdfg.pfamobgn0329.common.arouter.ArouterUtils;
import com.asdfg.pfamobgn0329.databinding.ActContactBinding;
import com.asdfg.pfamobgn0329.model.MoguConfig;
import com.asdfg.pfamobgn0329.model.QQInfo;
import com.kotlin.bbbasiclib.AndroidutilsKt;
import com.kotlin.bbbasiclib.base.CommonBaseActivity;
import com.qushare.news.utils.ShareUtils;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function3;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0003J\b\u0010\u0004\u001a\u00020\u0005H\u0016J\b\u0010\u0006\u001a\u00020\u0005H\u0016¨\u0006\u0007"}, d2 = {"Lcom/asdfg/pfamobgn0329/ui/activity/ContactActivity;", "Lcom/kotlin/bbbasiclib/base/CommonBaseActivity;", "Lcom/asdfg/pfamobgn0329/databinding/ActContactBinding;", "()V", "initData", "", "initView", "app_googleRelease"}, k = 1, mv = {1, 7, 1}, xi = 48)
public final class ContactActivity extends CommonBaseActivity<ActContactBinding> {
@Override
public void initData() {
ApiManager.INSTANCE.getMoguConfig("qqinfo", new Function3<Integer, String, MoguConfig, Unit>() {
{
super(3);
}
@Override
public Unit invoke(Integer num, String str, MoguConfig moguConfig) {
invoke(num.intValue(), str, moguConfig);
return Unit.INSTANCE;
}
public final void invoke(int i, @NotNull String msg, @Nullable MoguConfig moguConfig) {
Intrinsics.checkNotNullParameter(msg, "msg");
if (i != 200 || moguConfig == null) {
return;
}
final QQInfo qQInfo = (QQInfo) new o00000oo.o00Ooo().oO0O0Oo(moguConfig.getValue(), QQInfo.class);
ContactActivity.this.getBinding().tvQQqun.setText(qQInfo.getQqqun());
LinearLayout linearLayout = ContactActivity.this.getBinding().llQQ;
Intrinsics.checkNotNullExpressionValue(linearLayout, "binding.llQQ");
AndroidutilsKt.click(linearLayout, new Function1<View, Unit>() {
{
super(1);
}
@Override
public Unit invoke(View view) {
invoke2(view);
return Unit.INSTANCE;
}
public final void invoke2(@NotNull View it) {
Intrinsics.checkNotNullParameter(it, "it");
ShareUtils.INSTANCE.copyText(QQInfo.this.getQqqun());
}
});
}
});
LinearLayout linearLayout = getBinding().llEmail;
Intrinsics.checkNotNullExpressionValue(linearLayout, "binding.llEmail");
AndroidutilsKt.click(linearLayout, new Function1<View, Unit>() {
@Override
public Unit invoke(View view) {
invoke2(view);
return Unit.INSTANCE;
}
public final void invoke2(@NotNull View it) {
Intrinsics.checkNotNullParameter(it, "it");
ShareUtils.INSTANCE.copyText("mogudizhi@gmail.com");
}
});
LinearLayout linearLayout2 = getBinding().llTele;
Intrinsics.checkNotNullExpressionValue(linearLayout2, "binding.llTele");
AndroidutilsKt.click(linearLayout2, new Function1<View, Unit>() {
{
super(1);
}
@Override
public Unit invoke(View view) {
invoke2(view);
return Unit.INSTANCE;
}
public final void invoke2(@NotNull View it) {
Intrinsics.checkNotNullParameter(it, "it");
ArouterUtils arouterUtils = ArouterUtils.INSTANCE;
ContactActivity contactActivity = ContactActivity.this;
arouterUtils.toUrlPraseJump(contactActivity, ApiClient.INSTANCE.getHttps() + "t.me/mogutv");
}
});
LinearLayout linearLayout3 = getBinding().llPotato;
Intrinsics.checkNotNullExpressionValue(linearLayout3, "binding.llPotato");
AndroidutilsKt.click(linearLayout3, new Function1<View, Unit>() {
{
super(1);
}
@Override
public Unit invoke(View view) {
invoke2(view);
return Unit.INSTANCE;
}
public final void invoke2(@NotNull View it) {
Intrinsics.checkNotNullParameter(it, "it");
ArouterUtils arouterUtils = ArouterUtils.INSTANCE;
ContactActivity contactActivity = ContactActivity.this;
arouterUtils.toUrlPraseJump(contactActivity, ApiClient.INSTANCE.getHttps() + "www.ptcc.in/mogutv");
}
});
}
@Override
public void initView() {
LinearLayout linearLayout = getBinding().llHead;
Intrinsics.checkNotNullExpressionValue(linearLayout, "binding.llHead");
fitStatubar(linearLayout);
ImageView imageView = getBinding().headLayout.ivBack;
Intrinsics.checkNotNullExpressionValue(imageView, "binding.headLayout.ivBack");
AndroidutilsKt.click(imageView, new Function1<View, Unit>() {
{
super(1);
}
@Override
public Unit invoke(View view) {
invoke2(view);
return Unit.INSTANCE;
}
public final void invoke2(@NotNull View it) {
Intrinsics.checkNotNullParameter(it, "it");
ContactActivity.this.onBackPressed();
}
});
getBinding().headLayout.tvHeaderTitle.setText("联系我们");
}
}