Glide: PlaceHolder Issue:

Created on 9 Oct 2017  路  6Comments  路  Source: bumptech/glide

Version 4.2.0 :

Glide.with(c)
.load(f.getPath())
.placeholder(new ColorDrawable(Color.BLACK))
.into(holder.imgv1);

placeholder cannot resolved ? please help me.

question stale

All 6 comments

Before Last update it was working fine. But not on v 4.2.0.. Please help asap.

Please fill out the issue template when filing new issues.

What error do you see? Or is the placeholder simply not visible?

it looks like there is not any more placeholder

Oh you mean the method is missing? If so that's a change in v4, not specifically in 4.2.0, see http://bumptech.github.io/glide/doc/migrating.html#requestoptions. If you want have the methods inlined, see the generated API: http://bumptech.github.io/glide/doc/generatedapi.html

This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.

http://bumptech.github.io/glide/doc/migrating.html#requestoptions

It is said that we use RequestOption to replace what we use placeholder in previous way.

Was this page helpful?
0 / 5 - 0 ratings