lucasr / twoway-view

[DEPRECATED] RecyclerView made simple
5.23k stars 1.02k forks source link

No resource identifier #143

Closed finneapps closed 9 years ago

finneapps commented 9 years ago

I am getting this error: Error:(1) No resource identifier found for attribute 'twowayview_layoutManager' in package

I have added the gradle dependency

lucasr commented 9 years ago

I assume you're defining the res-auto namespace in the layout resource?

finneapps commented 9 years ago

I copied the content from the layout_staggered_grid.xml file and added the gradle dependency

jemben08 commented 9 years ago

Error:(147) No resource identifier found for attribute 'layoutManager' in package

Error:(147) No resource identifier found for attribute 'numColumns' in package

lucasr commented 9 years ago

@jemben08 You should be using twowayview_layoutManager and twowayview_numColumns instead.

lucasr commented 9 years ago

@finneapps I can't reproduce this issue locally. The sample app uses the twowayview_layoutManager attribute and is working just fine for me. Maybe something broken in your dev setup?

jemben08 commented 9 years ago

the problem was

app:layoutManager="GridLayoutManager" app:numColumns="2"

change to

app:twowayview_layoutManager="GridLayoutManager" app:twowayview_numColumns="2"

thanks

coreform commented 9 years ago

This issue was hijacked and closed when the hijacking issue was resolved...the OP's issue remains, and another issue has been made since: https://github.com/lucasr/twoway-view/issues/155