MD5 校验值:facd8e3913e14e36e7daf9e69fbd45cb
SocialBar.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package it.ettoregallina.androidutils.ui.view; import Y1.j; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import it.Ettore.spesaelettrica.R; import kotlin.jvm.internal.k; public final class SocialBar extends LinearLayout implements View.OnClickListener { public final j f2694a; public SocialBar(Context context, AttributeSet attributeSet) { super(context, attributeSet); k.e(context, "context"); Context context2 = getContext(); k.d(context2, "getContext(...)"); this.f2694a = new j(context2); View inflate = LayoutInflater.from(context).inflate(R.layout.social_bar, (ViewGroup) this, true); ((ImageView) inflate.findViewById(R.id.facebook_imageview)).setOnClickListener(this); ((ImageView) inflate.findViewById(R.id.twitter_imageview)).setOnClickListener(this); ((ImageView) inflate.findViewById(R.id.linkedin_imageview)).setOnClickListener(this); ((ImageView) inflate.findViewById(R.id.youtube_imageview)).setOnClickListener(this); ((ImageView) inflate.findViewById(R.id.instagram_imageview)).setOnClickListener(this); } @Override public final void onClick(View view) { k.e(view, "view"); int id = view.getId(); j jVar = this.f2694a; if (id == R.id.facebook_imageview) { jVar.getClass(); try { jVar.f1478a.startActivity(new Intent("android.intent.action.VIEW", Uri.parse("fb://facewebmodal/f?href=https://www.facebook.com/EgalNet"))); } catch (Exception unused) { jVar.a("https://www.facebook.com/EgalNet"); } } else if (id == R.id.twitter_imageview) { jVar.a("https://twitter.com/egal_net"); } else if (id == R.id.linkedin_imageview) { jVar.a("https://www.linkedin.com/company/egalnet/"); } else if (id == R.id.youtube_imageview) { jVar.a("https://www.youtube.com/channel/UC3YIejzzOoR3qKw5BJPOC6Q"); } else if (id == R.id.instagram_imageview) { jVar.a("https://www.instagram.com/egalnet/"); } } }