Android Open Source - AndroidGridImageSearch Image Display Activity






From Project

Back to project page AndroidGridImageSearch.

License

The source code is released under:

MIT License

If you think the Android project AndroidGridImageSearch listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package net.julienlecomte.gridimagesearch;
// w w  w  .  j  av a  2s  . c  o m
import com.loopj.android.image.SmartImageView;

import android.app.Activity;
import android.os.Bundle;

public class ImageDisplayActivity extends Activity {
  SmartImageView sivImage;

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_image_display);

    sivImage = (SmartImageView) findViewById(R.id.sivResult);
    ImageResult imageResult = (ImageResult) getIntent().getSerializableExtra("image");
    String url = imageResult.getFullUrl();
    sivImage.setImageUrl(url);
  }
}




Java Source Code List

net.julienlecomte.gridimagesearch.EndlessScrollListener.java
net.julienlecomte.gridimagesearch.ImageDisplayActivity.java
net.julienlecomte.gridimagesearch.ImageResultArrayAdapter.java
net.julienlecomte.gridimagesearch.ImageResult.java
net.julienlecomte.gridimagesearch.SearchActivity.java
net.julienlecomte.gridimagesearch.SearchSettings.java
net.julienlecomte.gridimagesearch.SettingsActivity.java