Skip to content

Commit 05a8bf5

Browse files
committed
Use Glide ImageLoader in demo app
1 parent adcd7bc commit 05a8bf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/main/kotlin/org/wordpress/aztec/demo/MainActivity.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ import org.wordpress.android.util.ImageUtils
3333
import org.wordpress.android.util.PermissionUtils
3434
import org.wordpress.android.util.ToastUtils
3535
import org.wordpress.aztec.*
36+
import org.wordpress.aztec.glideloader.GlideImageLoader
3637
import org.wordpress.aztec.glideloader.GlideVideoThumbnailLoader
37-
import org.wordpress.aztec.picassoloader.PicassoImageLoader
3838
import org.wordpress.aztec.plugins.shortcodes.AudioShortcodePlugin
39-
import org.wordpress.aztec.plugins.shortcodes.handlers.CaptionHandler
4039
import org.wordpress.aztec.plugins.shortcodes.CaptionShortcodePlugin
4140
import org.wordpress.aztec.plugins.shortcodes.VideoShortcodePlugin
41+
import org.wordpress.aztec.plugins.shortcodes.handlers.CaptionHandler
4242
import org.wordpress.aztec.plugins.wpcomments.WordPressCommentsPlugin
4343
import org.wordpress.aztec.plugins.wpcomments.toolbar.MoreToolbarButton
4444
import org.wordpress.aztec.plugins.wpcomments.toolbar.PageToolbarButton
@@ -321,7 +321,7 @@ class MainActivity : AppCompatActivity(),
321321

322322

323323
aztec = Aztec.with(visualEditor, sourceEditor, toolbar, this)
324-
.setImageGetter(PicassoImageLoader(this, visualEditor))
324+
.setImageGetter(GlideImageLoader(this))
325325
.setVideoThumbnailGetter(GlideVideoThumbnailLoader(this))
326326
.setOnImeBackListener(this)
327327
.setOnTouchListener(this)

0 commit comments

Comments
 (0)