Glide: 4.0.0-RC0 NO placeholder() or error() method

Created on 14 Jun 2017  路  2Comments  路  Source: bumptech/glide

When I was in the use of 4.0.0-RC0, I found placeholder() or error() method not.How to solve it.please

question

Most helpful comment

you can supply this through new class RequestOptions and then pass it on to glide using apply() api.

All 2 comments

you can supply this through new class RequestOptions and then pass it on to glide using apply() api.

For the generated API: http://bumptech.github.io/glide/doc/placeholders.html.

If you want to pass in RequestOptions as @nucleartip suggests: http://bumptech.github.io/glide/doc/options.html#requestoptions

Was this page helpful?
0 / 5 - 0 ratings