| | |
| | | if(SimpleTool.checkNotNull(arrString)){ |
| | | JSONArray images = JSONArray.fromObject(arrString); |
| | | for(int i = 0;i<images.size();i++){ |
| | | if(images.getString(i).indexOf("http")!=-1){ |
| | | if(images.getString(i).startsWith("http")){ |
| | | arr.add(images.getString(i)); |
| | | }else{ |
| | | arr.add(urlAddDomain(images.getString(i),domainName)); |
| | |
| | | JSONArray arr = new JSONArray(); |
| | | if(SimpleTool.checkNotNull(imagesArr)){ |
| | | for(int i = 0;i<imagesArr.size();i++){ |
| | | if(imagesArr.getString(i).indexOf("http")!=-1){ |
| | | if(imagesArr.getString(i).startsWith("http")){ |
| | | arr.add(imagesArr.getString(i)); |
| | | }else{ |
| | | arr.add(urlAddDomain(imagesArr.getString(i),domainName)); |
| | |
| | | return imagesUrl; |
| | | } |
| | | if(SimpleTool.checkNotNull(imagesUrl)){ |
| | | if(imagesUrl.indexOf("http")!=-1){ |
| | | if(imagesUrl.startsWith("http")){ |
| | | return imagesUrl; |
| | | } |
| | | if(domainName.endsWith("/")){ |