I
Size: a a a
I
К
I
I
К
I
I
I
К
I
К
I
S🕶
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();
}
RC
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();
}
IS
JF
IS
JF
IS