diff options
author | Sam Judd <sam@bu.mp> | 2013-08-20 08:32:26 -0700 |
---|---|---|
committer | Sam Judd <sam@bu.mp> | 2013-08-20 11:17:12 -0700 |
commit | c95a13d712f57271047e467d367e1145517b0c2a (patch) | |
tree | f5171cbd78caee5eab7a2b8eb90a363612926e66 /samples | |
parent | 7a58fe728839fce9519e9b0656668b316db52777 (diff) | |
download | glide-c95a13d712f57271047e467d367e1145517b0c2a.tar.gz |
Code cleanup and comment updates
Diffstat (limited to 'samples')
-rw-r--r-- | samples/flickr/src/com/bumptech/glide/samples/flickr/FlickrPhotoGrid.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/flickr/src/com/bumptech/glide/samples/flickr/FlickrPhotoGrid.java b/samples/flickr/src/com/bumptech/glide/samples/flickr/FlickrPhotoGrid.java index b6eefc81..5f33f778 100644 --- a/samples/flickr/src/com/bumptech/glide/samples/flickr/FlickrPhotoGrid.java +++ b/samples/flickr/src/com/bumptech/glide/samples/flickr/FlickrPhotoGrid.java @@ -12,12 +12,12 @@ import android.widget.GridView; import android.widget.ImageView; import com.actionbarsherlock.app.SherlockFragment; import com.bumptech.glide.Glide; -import com.bumptech.glide.samples.flickr.api.Photo; import com.bumptech.glide.loader.image.ImageManagerLoader; import com.bumptech.glide.loader.transformation.CenterCrop; import com.bumptech.glide.presenter.ImagePresenter; import com.bumptech.glide.presenter.ImageReadyCallback; import com.bumptech.glide.presenter.target.Target; +import com.bumptech.glide.samples.flickr.api.Photo; import java.util.ArrayList; import java.util.List; @@ -108,8 +108,8 @@ public class FlickrPhotoGrid extends SherlockFragment implements PhotoViewer { final Context context = getActivity(); - //this is an example of how one might use ImagePresenter directly, there is no particular reason - //why ImagePresenter is used here and not in FlickrPhotoList otherwise. + //this is an example of how one might use ImagePresenter directly, there is otherwise no particular + //reason why ImagePresenter is used here and not in FlickrPhotoList. final Animation fadeIn = AnimationUtils.loadAnimation(context, R.anim.fade_in); imagePresenter = new ImagePresenter.Builder<Photo>() .setModelLoader(Glide.get().buildModelLoader(Photo.class, context)) |