richeditor-android icon indicating copy to clipboard operation
richeditor-android copied to clipboard

May I know how to use it with two way databinding?

Open aishwarya-kamal opened this issue 4 years ago • 1 comments

I'm having trouble with using it with data binding. Could you please help?

This is the error - Caused by: android.databinding.tool.util.LoggedErrorException: Found data binding error(s):

[databinding] {"msg":"Cannot find a getter for \u003cjp.wasabeef.richeditor.RichEditor android:text\u003e that accepts parameter type \u0027java.lang.String\u0027\n\nIf a binding adapter provides the getter, check that the adapter is annotated correctly and that the parameter type matches.....

aishwarya-kamal avatar Sep 06 '20 18:09 aishwarya-kamal

You need to bind to the app:html attribute. By your error its seems you are binding to android:text

davidhowe avatar Mar 28 '22 11:03 davidhowe