lucasr / twoway-view

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

No resource identifier found for attribute #155

Open ppamorim opened 10 years ago

ppamorim commented 10 years ago

I'm unable to use the lib because the parameters below in there:

Error:(147) No resource identifier found for attribute 'twowayview_layoutManager' in package 'com.project.app' Error:(147) No resource identifier found for attribute 'twowayview_numColumns' in package 'com.project.app' Error:(147) No resource identifier found for attribute 'twowayview_numRows' in package 'com.project.app'

Apart from this component is: "org.lucasr.twowayview.TwoWayView" instead of "org.lucasr.twowayview.widget.TwoWayView".

Also I am not able to set the adapter. Can you update as soon as possible the sample? Adapter: " extends RecyclerView.Adapter'<'BeautifulClass.ViewHolder'>'" but can't cast.

Please update the sample and create a doc. I can create the doc if you help me.

hakimrie commented 9 years ago

make sure you import "org.lucasr.twowayview.widget.TwoWayView" in your class as well as use org.lucasr.twowayview.widget.TwoWayView in your xml, not rg.lucasr.twowayview.TwoWayView

hybrid2102 commented 9 years ago

I have the same issue. No resource identifier found for attribute 'twowayview_layoutManager' The xml is the same from the samples.

murilozas commented 9 years ago

Copy the attrs.xml file from layouts folder to your project values folder.

joshfromperth commented 8 years ago

Thank you @murilozas

alekseytimoshchenko commented 7 years ago

try to save this file within your project https://github.com/lucasr/twoway-view/blob/master/layouts/src/main/res/values/attrs.xml