wordpress-mobile / WordPress-Editor-Android

⛔️ [DEPRECATED] A reusable Android rich text editor component.
GNU General Public License v2.0
188 stars 50 forks source link

Load post content in background thread #82

Open bummytime opened 9 years ago

bummytime commented 9 years ago

Original issue: https://github.com/wordpress-mobile/WordPress-Android/issues/586

Copy the entire contents of Romeo and Juliet into a post: http://shakespeare.mit.edu/romeo_juliet/full.html

The app will become sluggish as it loads the content into the post editor. If you save the post as a local draft, the view post fragment also struggles to load the content. We should load the content in background thread in order to not block the UI.

maxme commented 8 years ago

Webview loads data in its own thread, so there is no risk of a non responsive app when opening the visual editor.

This problem still exists when switching from visual to html mode.