title: GridView Click Display full screen image
body: <p>i have Gridview that display Image from internet using universal-image-loader
  i want when i click on image in gridview
  show up in full screen</p>
  
  <p>here is my simple code :</p>
  
  <p><strong>MainActivity</strong></p>
  
  <pre><code>    Photoist.setOnItemClickListener(new OnItemClickListener() {
  
          @Override
          public void onItemClick(AdapterView&lt;?&gt; parent, View view,int pos, long id) {
          //  String url = mAdapter.getItem(pos).getImgUrl();
          GridView lv = (GridView) parent;
          ImageView SelectedImage = (ImageView) parent.getChildAt(pos-lv.getFirstVisiblePosition()).findViewById(R.id.iconImg);
          SelectedImage.buildDrawingCache();
          Bitmap myimage = SelectedImage.getDrawingCache();
          Intent intent = new Intent(getActivity(),FullScreenImageView.class);
          intent.putExtra("MyImageIntent", myimage);
          startActivity(intent);
  
          }
  
  });
  </code></pre>
  
  <p><strong>FullScreenImageView.Class</strong></p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_second);
          ImageView Fullscreen = (ImageView) findViewById(R.id.imgDisplay);
          Bitmap Image = (Bitmap) getIntent().getExtras().get("MyImageIntent");
          Fullscreen.setImageBitmap(Image);
  }
  </code></pre>
  
  <p>The Error in this Code :</p>
  
  <pre><code>Fullscreen.setImageBitmap(Image);
  </code></pre>
  
  <p>i hope someone can help
  and i have 1 more question
  how i can make the FullScreenImage Swipe/Slide . i mean if i slide image left it show next image, and i slide it right show previews image .</p>
  
  <p>-sorry for my bad english, and thanks</p>