html - how to create book app in android? -


i writing learning app consists of many pages included text , pictures , highlighted code (say c++) learning. decided implement html webview there disadvantages:

1.sometimes webview gets blank (i don't know why!!) , makes bad user experience

2.rendering time webview slow opposed native widgets textview & imageview etc. , times takes 1 second load contents.

and advantages :

1.styling easy in html using css specially code highlighting in case

approach:i saved them in asset folder , load them loadurl() method webview.

is there better way create book-like app in android ? how can reach better performance ? in addition consider styling matters.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -