FLIX VISION v2.8.2版本的 MD5 值为:4d33b143293b36f23ce5a6a5834e6993
以下内容为反编译后的 i0.java 源代码,内容仅作参考
package v9;
import android.content.Intent;
import android.net.Uri;
import android.view.View;
import android.widget.Toast;
import flix.com.vision.App;
import flix.com.vision.activities.MainActivity;
public final class i0 implements View.OnClickListener {
public final int f18878b;
public final MainActivity f18879g;
public final la.d f18880h;
public i0(MainActivity mainActivity, la.d dVar, int i10) {
this.f18878b = i10;
this.f18879g = mainActivity;
this.f18880h = dVar;
}
@Override
public final void onClick(View view) {
int i10 = this.f18878b;
la.d dVar = this.f18880h;
MainActivity mainActivity = this.f18879g;
switch (i10) {
case 0:
int i11 = MainActivity.f11782p0;
mainActivity.getClass();
dVar.dismiss();
try {
Intent intent = new Intent("android.intent.action.VIEW");
intent.setData(Uri.parse("https://twitter.com/FlixVisionApp"));
mainActivity.startActivity(intent);
return;
} catch (Exception e10) {
e10.printStackTrace();
return;
}
case 1:
int i12 = MainActivity.f11782p0;
mainActivity.getClass();
dVar.dismiss();
if (!App.getInstance().f11731p.clearFavorites()) {
Toast.makeText(mainActivity.getBaseContext(), "An error occurred", 0).show();
return;
} else {
Toast.makeText(mainActivity.getBaseContext(), "Favorites cleared", 0).show();
mainActivity.recreate();
return;
}
case 2:
int i13 = MainActivity.f11782p0;
mainActivity.getClass();
dVar.dismiss();
try {
Intent intent2 = new Intent("android.intent.action.VIEW");
intent2.setData(Uri.parse("https://discord.gg/tKjc4PTvxu"));
mainActivity.startActivity(intent2);
return;
} catch (Exception e11) {
e11.printStackTrace();
return;
}
default:
int i14 = MainActivity.f11782p0;
mainActivity.getClass();
dVar.dismiss();
if (!App.getInstance().f11731p.clearHistory()) {
Toast.makeText(mainActivity.getBaseContext(), "An error occurred", 0).show();
return;
} else {
Toast.makeText(mainActivity.getBaseContext(), "History cleared", 0).show();
mainActivity.recreate();
return;
}
}
}
}