use of io.jawg.osmcontributor.flickr.rest.asynctask.GetFlickrPhotos in project osm-contributor by jawg.
the class PhotoActivity method initView.
private void initView() {
poiId = getIntent().getLongExtra("poiId", 0);
if (ImageAdapter.getPhotoUrlsCachedThumbs(poiId) == null || ImageAdapter.getPhotoUrlsCachedThumbs(poiId).isEmpty()) {
gridPhotos.setVisibility(View.INVISIBLE);
loadingImage.setVisibility(View.VISIBLE);
}
Poi currentPoi = application.getOsmTemplateComponent().getPoiManager().queryForId(poiId);
asyncGetPhotos = new GetFlickrPhotos(longitude, latitude, application.getFlickr(), NB_IMAGE_REQUESTED, NB_PAGE_REQUESTED, currentPoi);
asyncGetPhotos.execute();
}
Aggregations