MB Relawan
MB Relawan

Reputation: 21

Cannot resolve method .into

i use glide method.

Glide.with(this._activity).load((String) this._filePaths.get(position)).
                apply(new RequestOptions().
                        override(dimen, dimen).
                        centerCrop().
                        diskCacheStrategy(DiskCacheStrategy.ALL).
                        into(imageView);

i get error Cannot resolve method 'into(android.widget.ImageView)'.

Upvotes: 0

Views: 1120

Answers (1)

mmmatey
mmmatey

Reputation: 684

You're missing one ")" after the DiskCacheStrategy.ALL):

Glide.with(this._activity).load((String) this._filePaths.get(position)).
            apply(new RequestOptions().
                    override(dimen, dimen).
                    centerCrop().
                    diskCacheStrategy(DiskCacheStrategy.ALL)).
                    into(imageView);

Upvotes: 1

Related Questions