title: possible to return array of strings in android
body: <p>i want to load group of images and text to item in list,so every item have 3 text view and group of image in viewpager  ,  so i make java class contain methods to get and set text and images url,that is my code</p>
  
  <p>updates                                                                               i solve previous problem but when send array of string to projects class it gives me red underline error </p>
  
  <pre><code>public class Projects {
  private String yourText = "";
  private String yourstatu= "";
  private String yourdes= "";
  private String yourversion= "";
  private String[] img;
  
  public String getyourText () {
      return yourText ;
  }
  
  public void setyourText(String yourText) {
      this.yourText  = yourText;
  }
  public String getyourdescription () {
      return yourdes ;
  }
  
  public void setyourdescription( String yourdes) {
      this.yourdes  = yourdes;
  }
  public String getyourstatu () {
      return yourstatu ;
  }
  
  public void setyourstatu( String yourstatu) {
      this.yourstatu  = yourstatu;
  }
  public String getYourversion() {
      return yourversion ;
  }
  
  public void setYourversion( String yourversion) {
      this.yourversion  = yourversion;
  }
  public String getYourimages() {
      return new String[] img ;       // here red underline
  }
  
  public void setYourimages( String []img) {
      this.img  = img;
  }
  </code></pre>
  
  <p>}
  part of my main page</p>
  
  <pre><code>mProduct.setyourText(name11);
                  mProduct.setyourstatu(status);
                  mProduct.setYourversion(version);
                  mProduct.setyourdescription(description);
                  mArrayList.add(mProduct);
  
  
                  for (int i = 0; i &lt; jreimages.length(); i++) {
                      JSONObject jjobject = jreimages.getJSONObject(i);
                      String imageid=jjobject.getString("project_id");
                      if(imageid==id){
                          String urlimage=jjobject.getString("screenshot");
                          String total=url+urlimage;
                          images[j]=total;
  
                      }
                      mProduct.getYourimages(images); // here underline error says getYourimages cannot be applied to java.lang,string[]
  </code></pre>
  
  <p>how to return array of strings ?</p>