本文整理匯總了Java中com.fedorvlasov.lazylist.ImageLoader類的典型用法代碼示例。如果您正苦於以下問題:Java ImageLoader類的具體用法?Java ImageLoader怎麽用?Java ImageLoader使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ImageLoader類屬於com.fedorvlasov.lazylist包,在下文中一共展示了ImageLoader類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: onCreate
import com.fedorvlasov.lazylist.ImageLoader; //導入依賴的package包/類
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_user);
//Uri data = getIntent().getData();
String userid = getIntent().getDataString().substring(getIntent().getDataString().lastIndexOf("/")+1);
imageLoader = new ImageLoader(this.getApplicationContext());
imageView = (ImageView) this.findViewById(R.id.imageViewUser);
textViewLocations = (TextView) this.findViewById(R.id.textViewLocations);
textViewRoles = (TextView) this.findViewById(R.id.textViewRoles);
buttonTw = (Button) this.findViewById(R.id.buttonTw);
buttonFb = (Button) this.findViewById(R.id.buttonFb);
buttonLI= (Button) this.findViewById(R.id.buttonLI);
buttonBlog = (Button) this.findViewById(R.id.buttonBlog);
new AsyncHttpGet().execute(userid);
}
示例2: configure
import com.fedorvlasov.lazylist.ImageLoader; //導入依賴的package包/類
@Override
protected void configure() {
bind(EventBus.class).in(Scopes.SINGLETON);
bind(ISettingsManager.class).to(SettingsManager.class).in(Scopes.SINGLETON);
bind(IRequestsManager.class).to(RequestsManager.class).in(Scopes.SINGLETON);
bind(IUiManager.class).to(UiManager.class).in(Scopes.SINGLETON);
bind(IImageLoader.class).to(ImageLoader.class).in(Scopes.SINGLETON);
bind(ObjectsStorage.class).in(Scopes.SINGLETON);
bind(INetworkConnector.class).to(NetworkConnector.class).in(Scopes.SINGLETON);
}
示例3: ListViewAdapter
import com.fedorvlasov.lazylist.ImageLoader; //導入依賴的package包/類
public ListViewAdapter(Context context, SearchResult searchresults [], int searchresultsview) {
this.context = context;
this.searchresults = searchresults;
this.searchresultsview = searchresultsview;
textsize_values = context.getResources().getIntArray(R.array.textsize_values);
textsize = mHelper.loadIntPref(context, "textsize", mHelper.TEXTSIZE_DEFAULT);
images = mHelper.loadIntPref(context, "images", mHelper.IMAGES_DEFAULT);
if(images>0)il = new ImageLoader(context);
}