updated uil

This commit is contained in:
Mariotaku Lee 2015-06-07 22:37:41 +08:00
parent dcc2b6747f
commit f574ae19dc
3 changed files with 3 additions and 4 deletions

View File

@ -64,7 +64,7 @@ dependencies {
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.sothree.slidinguppanel:library:3.0.0'
compile 'com.twitter:twitter-text:1.12.1'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
compile 'com.squareup:otto:1.3.7'
compile 'dnsjava:dnsjava:2.1.7'
compile 'com.commonsware.cwac:merge:1.1.1'

View File

@ -35,7 +35,7 @@ import android.support.annotation.Nullable;
import android.support.multidex.MultiDexApplication;
import com.nostra13.universalimageloader.cache.disc.DiskCache;
import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiscCache;
import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiskCache;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
import com.nostra13.universalimageloader.core.assist.QueueProcessingType;
@ -347,7 +347,7 @@ public class TwidereApplication extends MultiDexApplication implements Constants
// 1024 * 1024);
// discCache.setReserveCacheDir(fallbackCacheDir);
// return discCache;
return new UnlimitedDiscCache(cacheDir, fallbackCacheDir, new URLFileNameGenerator());
return new UnlimitedDiskCache(cacheDir, fallbackCacheDir, new URLFileNameGenerator());
}
private void initializeAsyncTask() {

View File

@ -721,7 +721,6 @@ public class AccountsDashboardFragment extends BaseSupportFragment implements Lo
public void onBindViewHolder(AccountProfileImageViewHolder holder, int position) {
// holder.itemView.setAlpha(c.getInt(mIndices.is_activated) == 1 ? 1 : 0.5f);
final ParcelableAccount account = getAdapterAccount(position);
mImageLoader.cancelDisplayTask(holder.icon);
// holder.icon.setImageDrawable(null);
mImageLoader.displayDashboardProfileImage(holder.icon, account.profile_image_url, null);
holder.icon.setBorderColor(account.color);