title: In android my pojo class instance are getting null value
body: <p>i have created a pojo class.. where i store data which i am getting from api.. </p>
  
  <p>In MainActivity.java i am using loopj for parsing json data</p>
  
  <pre><code>storeList = new ArrayList&lt;AllStore&gt;();
                  try {
                      JSONArray jsonArray = new JSONArray(new String(responseBody));
                      for (int i = 0; i &lt; jsonArray.length(); i++) {
                          store = new AllStore();
  
                          store.setLocation(jsonArray.getJSONObject(i).getString("storeName"));
                          store.setAddress(jsonArray.getJSONObject(i).getString("address"));
  </code></pre>
  
  <p>my pojo class</p>
  
  <p>AllStore.java</p>
  
  <pre><code>public class AllStore{
  
  String storeName;
  String address;
  
  public AllStore(String storeName, String address){
  this.storeName= storeName;
  this.location = location;
  }
  
  public AllStore{
  
  }
  
  public String getLocation() {
          return location;
      }
  
      public void setLocation(String location) {
          this.location = location;
      }
  
  public String getStoreName() {
          return storeName;
      }
  
      public void setStoreName(String storeName) {
          this.storeName = storeName;
      }
  
  }
  </code></pre>
  
  <p>In other java classes.. rather then adapter class when i am doing </p>
  
  <pre><code>AllStore allStore = new Allstore();
  
  mText.setText(allStore.getStoreName);
  </code></pre>
  
  <p>Here allStore.getStoreName value is null showing.. how to solve this..</p>
  
  <p>Please help </p>