Butterknife: apply function removed with version 10.0.0

Created on 4 Jan 2019  路  5Comments  路  Source: JakeWharton/butterknife

Hey everyone :)
With version 10.0.0, some functions were deprecated and one of them apply() is not anymore available.
What is the workaround now ? I think the documentation is not updated yet and I don't know what to do.

Most helpful comment

https://jakewharton.github.io/butterknife/ is still showing apply fyi

All 5 comments

Those were deprecated in 9.0 and removed in 10.0. Use ViewCollections.run(...) or ViewCollections.set(...). More info can be found in the commit that deprecated them and in the commit that removed them.

If you first jumped to 9.0 you would have seen these as deprecated with pointers to the ViewCollections class. I'll add a note to the 9.0.0 release notes.

Thanks a lot ! :)

https://jakewharton.github.io/butterknife/ is still showing apply fyi

As previous poster said, still showing apply, which is confusing.

Was this page helpful?
0 / 5 - 0 ratings