2012-02-01 2 views
0

안녕하세요, 저는이갤러리 사진의 원본으로 이미지 URL을 사용하려고하지만이 작품의 작동 방식을 찾는 데 어려움이 있습니다.이 은 지금까지 코드입니다.갤러리 소스에 대한 그림 URL

public class ImageAdapter extends BaseAdapter { 
     private static final int ITEM_WIDTH = 232; 
     private static final int ITEM_HEIGHT = 150; 

     private final int mGalleryItemBackground; 
     private final Context mContext; 

     private final Integer[] mImageIds = { 
       R.drawable.pic1, 
       R.drawable.pic2, 
       R.drawable.pic3, 


     }; 

어디서 URL을 넣을까요?

답변

0

URL이 웹에있는 경우 수행 할 작업이 있습니다. 다행스럽게도 이러한 시나리오를 처리하는 많은 라이브러리가 ImageView 구현되어 있습니다.

체크 아웃 LoopJ의 SmartImageView

는 또한보다 강력한 UI 빌더 구현에 GreenDroid로 본다.