Introduce a Constants class used to store global constants in tzplatte
project
add more global values into Constants
Refactor on database:
1.Rewrite the upgrade() logic in PaletteDataDbHelper, so to not lose the
previous data when database is upgrading.
2. Add a new column "is_favourite" in palette table
fix the logic error that it should check the oldVersion "3" when upgrade
from 3 to 4...
introduce the isFavourite flag into PaletteData class
Improve the "updated" time string in Palette item list view
add favourite star icon in palette edit view and implement to set/unset
favourite flag on the palette data in edit view
display the favourite icon in palette list view
Modify the palette data comparotor to always make the favourite data at
the top