コード例 #1
0
 private void initNearByBitmap() {
   mNearByBitmap = new FinalBitmap(this);
   mNearByBitmap.configBitmapLoadThreadSize(5);
   mNearByBitmap.configDiskCachePath(CACHE);
   mNearByBitmap.configLoadfailImage(R.drawable.v5_0_1_nearby_activity_photo_bg);
   mNearByBitmap.configLoadingImage(R.drawable.v5_0_1_nearby_activity_photo_bg);
   mNearByBitmap.configMemoryCacheSize(1);
   mNearByBitmap.init();
 }
コード例 #2
0
 private void initAlbumBitmap() {
   mAlbumBitmap = new FinalBitmap(this);
   mAlbumBitmap.configBitmapLoadThreadSize(5);
   mAlbumBitmap.configDiskCachePath(CACHE);
   mAlbumBitmap.configLoadfailImage(R.drawable.v5_0_1_select_album_item_default_img);
   mAlbumBitmap.configLoadingImage(R.drawable.v5_0_1_select_album_item_default_img);
   mAlbumBitmap.configMemoryCacheSize(1);
   mAlbumBitmap.init();
 }
コード例 #3
0
 private void initPhotoBitmap() {
   mPhotoBitmap = new FinalBitmap(this);
   mPhotoBitmap.configBitmapLoadThreadSize(5);
   mPhotoBitmap.configDiskCachePath(CACHE);
   mPhotoBitmap.configLoadfailImage(R.drawable.v5_0_1_photo_default_img);
   mPhotoBitmap.configLoadingImage(R.drawable.v5_0_1_photo_default_img);
   mPhotoBitmap.configMemoryCacheSize(1);
   mPhotoBitmap.init();
 }
コード例 #4
0
 private void initHeadBitmap() {
   mHeadBitmap = new FinalBitmap(this);
   mHeadBitmap.configBitmapLoadThreadSize(5);
   mHeadBitmap.configDiskCachePath(CACHE);
   mHeadBitmap.configLoadfailImage(R.drawable.v5_0_1_widget_default_head);
   mHeadBitmap.configLoadingImage(R.drawable.v5_0_1_widget_default_head);
   mHeadBitmap.configMemoryCacheSize(1);
   mHeadBitmap.init();
 }