java - Binding project inconsistent accessibility on inner classes but can't get transform syntax right -


i've been trying create binding project token auto complete text view project on github (https://github.com/mattwhetton/tokenautocomplete). i'm trying port in xamarin / mono (c#)

i've been getting following error:

inconsistent accessibility: parameter type 'com.tokenautocomplete.tokencompletetextview.tokenimagespan' less accessible method 'com.tokenautocomplete.tokencompletetextview.tokentextwatcher.removetoken(com.tokenautocomplete.tokencompletetextview.tokenimagespan, android.text.ieditable)' 

i understand error , tried add transform make tokenimagespan inner class more accessible, cant seem syntax rioght. i've tried 2 variations below:

<attr path="/api/package[@name='com.tokenautocomplete']/class[@name='tokenimagespan']/class[@name='tokenimagespan']"                 name="visibility">public</attr>  <attr path="/api/package[@name='com.tokenautocomplete.tokencompletetextview']/class[@name='tokenimagespan']"                 name="visibility">public</attr> 

but neither seems work, both give me following errors:

bindingsgenerator : warning bg8a04: <attr path="/api/package[@name='com.tokenautocomplete.tokencompletetextview']/class[@name='tokenimagespan']"/> matched no nodes.  bindingsgenerator : warning bg8a04: <attr path="/api/package[@name='com.tokenautocomplete']/class[@name='tokenimagespan']/class[@name='tokenimagespan']"/> matched no nodes. 

i'm guessing (probably incorrectly) them being nested classes?!


Comments