Esempio n. 1
0
  // TODO: Remove these?
  // WORKS FOR NOW THOUGH =)
  @Override
  protected void onResume() {
    super.onResume();

    // Set spot images
    imagesArray = new ArrayList<HashMap<String, String>>();
    Spot.getPhotosBySpotID(gridview, dataAdapter, imagesArray, context, spot_id);
  }
Esempio n. 2
0
 // TODO Possibly delete this
 @Override
 public void onActivityResult(int requestCode, int resultCode, Intent data) {
   // TODO: uncomment and figure out how to refresh from coming back here
   // if (requestCode == 0) {
   //    if (resultCode == Activity.RESULT_OK) {
   // Refresh list because photo was added
   imagesArray = new ArrayList<HashMap<String, String>>();
   Spot.getPhotosBySpotID(gridview, dataAdapter, imagesArray, context, spot_id);
   //    }
   // }
 }