diff --git a/app/src/main/java/com/example/cosmosclient/views/QRcodeReadingActivity.java b/app/src/main/java/com/example/cosmosclient/views/QRcodeReadingActivity.java index c49cee9..381f10d 100644 --- a/app/src/main/java/com/example/cosmosclient/views/QRcodeReadingActivity.java +++ b/app/src/main/java/com/example/cosmosclient/views/QRcodeReadingActivity.java @@ -17,6 +17,9 @@ import com.google.zxing.integration.android.IntentResult; import com.journeyapps.barcodescanner.CaptureActivity; +import java.lang.reflect.Member; +import java.util.List; + import retrofit2.Call; import retrofit2.Callback; import retrofit2.Response; @@ -86,8 +89,11 @@ @Override public void onResponse(Call call, Response response) { if (response.isSuccessful()) { - JoinGroupResponse result = response.body(); - + List listMembers= response.body().getListMembers(); + int s = listMembers.size(); + for(int i = 0; i < s; i++){ + Log.d("debug3", String.valueOf(listMembers.get(i))); + } Cosmos app = (Cosmos) getApplication(); //test // System.out.println(result.uId);