Evan-Coulter / Thoughtful-Journal

A simple android journal app following material design guidelines.
0 stars 0 forks source link

4) Replace Journal Content String with Spannable Text #27

Closed Evan-Coulter closed 3 years ago

Evan-Coulter commented 3 years ago

This should be done after basic UI is complete so we can see the Spannable Text in action.

See here for how to save it in Room, https://stackoverflow.com/questions/21444635/android-spannable-text-save-store-issue

Evan-Coulter commented 3 years ago

//pseudo code for on format button listener. if(editText.hasSelection()) { applyFormatToSelection(); }else{ turnOnOnTextChangeWatcherFormatNewText(); }