S
Size: a a a
S
K
JI
v
v
v
S🕶
public void restMessageSender(NotificationEvent notificationEvent) {
new Thread(() -> {
final String url = BuildConfig.AWS_API_GATEWAY;
AndroidNetworking.post(url)
.addJSONObjectBody(createJsonObject(notificationEvent))
.build()
.getAsJSONObject(new JSONObjectRequestListener() {
@Override
public void onResponse(JSONObject response) {
System.out.println("response: " + response);
}
@Override
public void onError(ANError error) {
System.out.println("error: " + error);
}
});
}).start();
}
F
MK
public void restMessageSender(NotificationEvent notificationEvent) {
new Thread(() -> {
final String url = BuildConfig.AWS_API_GATEWAY;
AndroidNetworking.post(url)
.addJSONObjectBody(createJsonObject(notificationEvent))
.build()
.getAsJSONObject(new JSONObjectRequestListener() {
@Override
public void onResponse(JSONObject response) {
System.out.println("response: " + response);
}
@Override
public void onError(ANError error) {
System.out.println("error: " + error);
}
});
}).start();
}
AN
MK
OP
AN
AN
AM
i
ES
OP
OP