yydcdut / RxMarkdown

:fax:Markdown for Android, supports TextView && EditText (Live Preview), supports code high light.
749 stars 93 forks source link

Markdown gets not rendered in RxMDTextView when setting another text #55

Open stefan-niedermann opened 6 years ago

stefan-niedermann commented 6 years ago

I have a strange problem: I have a RxMDTextView and set the content via setContent(text). This works perfectly.

But when i am trying to apply another content (I have a synchronisation callback which gives me a new content snippet that i want to apply) i am calling again setContent(newText). It sets the text correctly, but it does not get parsed.

Instead it looks like this:

device-2018-08-24-144009

If you want to have a look into the code: This is where i tried it: https://github.com/stefan-niedermann/nextcloud-notes/pull/450/files#diff-90525f4d9cdb0df716cb3648b662ac45R119

stefan-niedermann commented 5 years ago

@yydcdut do you have any clue?

stefan-niedermann commented 4 years ago

bump @yydcdut

stefan-niedermann commented 4 years ago

This only seems to happen using the RX way. Using the normal way works.