Back to project page saostar.
The source code is released under:
Apache License
If you think the Android project saostar listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.azyobuzi.azyotter.saostar.widget; /*w ww . j a va 2s.c om*/ import android.content.Context; import android.util.AttributeSet; import jp.sharakova.android.urlimageview.UrlImageView; public class CustomizedUrlImageView extends UrlImageView { public CustomizedUrlImageView(Context context) { super(context); init(context); } public CustomizedUrlImageView(Context context, AttributeSet attrs) { super(context, attrs); init(context); } public CustomizedUrlImageView(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); init(context); } private void init(final Context context) { setOnImageLoadListener(new OnImageLoadListener() { @Override public void onStart(String url) { setImageResource(android.R.drawable.ic_popup_sync); } @Override public void onComplete(String url) { } }); } }