正在查看: RummyCircle v11000.89 应用的 MainActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: RummyCircle v11000.89 应用的 MainActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.games24x7.pgpayment.ui;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import com.games24x7.pgeventbus.PGEventBus;
import com.games24x7.pgeventbus.event.EventInfo;
import com.games24x7.pgeventbus.event.PGEvent;
import com.games24x7.pgnetwork.utils.NetworkEventType;
import com.games24x7.pgpayment.PaymentConstants;
import com.games24x7.pgpayment.R;
import com.games24x7.pgpayment.comm.external.PGPaymentCommunicationManager;
import com.games24x7.pgpayment.p000enum.RequestType;
import com.games24x7.pgpayment.sdk.PaymentConfig;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.greenrobot.eventbus.b;
import org.greenrobot.eventbus.i;
import org.jetbrains.annotations.NotNull;
import org.json.JSONObject;
@Metadata
public final class MainActivity extends Activity {
@NotNull
public Map<Integer, View> _$_findViewCache = new LinkedHashMap();
@NotNull
private final String TAG = "MainActivity";
private final void testPaymentCall() {
PGEventBus pGEventBus = new PGEventBus();
new PGPaymentCommunicationManager(this, PaymentConstants.JUSPAY, new PaymentConfig("1234", "RC", new HashMap(), "https://m.rummycircle.com", null, "sandbox", null), null, pGEventBus, null, null, 104, null);
Log.e("Payment", "oncreate");
JSONObject jSONObject = new JSONObject();
EventInfo eventInfo = new EventInfo(RequestType.RETURN_UPI_APPS.toString(), NetworkEventType.MODULETYPE, (String) null, (String) null, 12, (DefaultConstructorMarker) null);
String jSONObject2 = jSONObject.toString();
Intrinsics.checkNotNullExpressionValue(jSONObject2, "payrequestload.toString()");
pGEventBus.postEvent(new PGEvent(eventInfo, jSONObject2, (EventInfo) null));
}
public void _$_clearFindViewByIdCache() {
this._$_findViewCache.clear();
}
public View _$_findCachedViewById(int i) {
Map<Integer, View> map = this._$_findViewCache;
View view = map.get(Integer.valueOf(i));
if (view != null) {
return view;
}
View findViewById = findViewById(i);
if (findViewById == null) {
return null;
}
map.put(Integer.valueOf(i), findViewById);
return findViewById;
}
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(R.layout.activity_main);
}
@Override
public void onDestroy() {
super.onDestroy();
b.c().o(this);
}
@i
public final void onResponse(@NotNull PGEvent pGEvent) {
Intrinsics.checkNotNullParameter(pGEvent, "pgEvent");
Log.e("Payment Main", pGEvent.toString());
}
@Override
public void onStart() {
super.onStart();
b.c().m(this);
testPaymentCall();
}
}