Litho: RecyclerBinder has private access

Created on 2 Aug 2017  路  3Comments  路  Source: facebook/litho

Version

V:0.5.0

Issues and Steps to Reproduce

My code running fine but when I updated to latest version which is 0.5.0 then getting error
Error:(89, 26) error: constructor RecyclerBinder in class RecyclerBinder cannot be applied to given types; required: Builder found: ComponentContext,GridLayoutInfo reason: actual and formal argument lists differ in length

recyclerbinder

Most helpful comment

Hey @hussainahmad, we made the RecyclerBinder constructor private and exposed a Builder instead because it was getting ugly maintaining all the different constructors when we wanted to add a new param. Check out this commit: https://github.com/facebook/litho/commit/19ce14e31a66662de472f94d2a9abe70e86b1a66

Hope that helps.

All 3 comments

Hey @hussainahmad, we made the RecyclerBinder constructor private and exposed a Builder instead because it was getting ugly maintaining all the different constructors when we wanted to add a new param. Check out this commit: https://github.com/facebook/litho/commit/19ce14e31a66662de472f94d2a9abe70e86b1a66

Hope that helps.

@mihaelao Sorry, i didn't notice this, when I updated from V:0.3.1 to 0.5.0 BTW thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Zeyad-37 picture Zeyad-37  路  8Comments

Drewbi picture Drewbi  路  3Comments

pavlospt picture pavlospt  路  5Comments

Martin-Hogge picture Martin-Hogge  路  4Comments

doublechina picture doublechina  路  3Comments