You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I just want to sjare what I did to fix this as I experienced this as well. I extended the RichEditor class and overrode the setPadding and setPaddingRelative methods, removed the super call and left them empty. I'm not experiencing any issues about it now, but I won't be able to add passing to the editor which I think isn't really needed as I can put it in a ViewGroup and just add margins to the RichEditor.
I'm using this great library, but I have a problem in some devices:
Using library version 0.3 on Android 4.0.4 ,this is the exception:
android.view.View.setPadding (View.java:11973)
android.view.ViewGroup.setPadding (ViewGroup.java:2377)
jp.wasabeef.richeditor.RichEditor.setPadding (RichEditor.java:227)
jp.wasabeef.richeditor.RichEditor.setPaddingRelative (RichEditor.java:234)
android.view.View.setPadding (View.java:11973)
android.view.ViewGroup.setPadding (ViewGroup.java:2377)
jp.wasabeef.richeditor.RichEditor.setPadding (RichEditor.java:227)
jp.wasabeef.richeditor.RichEditor.setPaddingRelative (RichEditor.java:234)
android.view.View.setPadding (View.java:11973)
android.view.ViewGroup.setPadding (ViewGroup.java:2377)
jp.wasabeef.richeditor.RichEditor.setPadding (RichEditor.java:227)
jp.wasabeef.richeditor.RichEditor.setPaddingRelative (RichEditor.java:234)
loop goes on until StackOverflowError exception
Thanks,
The text was updated successfully, but these errors were encountered: