Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private class ImageLoaderCallback : IImageUpdated
- {
- int i = 0;
- private ImageView cbImageView = null;
- public ImageLoaderCallback (Context context, ImageView iv, Uri imageUri)
- {
- int i = 0;
- Drawable newDrawable;
- cbImageView = iv;
- newDrawable = badgeIL.RequestImage ((Uri)imageUri, null);
- if (newDrawable != null) {
- iv.SetImageDrawable (newDrawable);
- }
- }
- public void UpdatedImage (System.Uri uri)
- {
- int i = 0;
- Drawable newDrawable;
- newDrawable = badgeIL.RequestImage ((Uri)uri, null);
- if (newDrawable != null) {
- cbImageView.SetImageDrawable (newDrawable);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement