public PXR_AchievementProgressList(AndroidJavaObject msg) { var count = PXR_AchievementAPI.pvr_AchievementProgressArray_GetSize(msg); data = new List <PXR_AchievementProgress>(count); for (int i = 0; i < count; i++) { data.Add(new PXR_AchievementProgress(PXR_AchievementAPI.pvr_AchievementProgressArray_GetElement(msg, i))); } nextUrl = PXR_AchievementAPI.pvr_AchievementProgressArray_GetNextUrl(msg); }