Back to project page MobileConnectTestApp.
The source code is released under:
MIT License
If you think the Android project MobileConnectTestApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.gsma.android.xoperatorapidemo.logo; /*from w w w . j a v a 2 s . co m*/ import org.json.JSONArray; import org.json.JSONException; public class LogoResponseArray { LogoResponse[] logos; public LogoResponse[] getLogos() { return logos; } public void setLogos(LogoResponse[] logos) { this.logos = logos; } public LogoResponseArray() { } public LogoResponseArray(Object source) throws JSONException { if (source!=null) { if (source instanceof JSONArray) { JSONArray sa=(JSONArray) source; logos=new LogoResponse[sa.length()]; for (int i=0; i<sa.length(); i++) { logos[i]=new LogoResponse(sa.get(i)); } } } } }