Team-Harmony-Dev / LiveColor

LiveColor is an Android app project that aims to provide a clean and practical color-picking experience for on the go. This app stems from a quarter-long project for the CSE115a software design class at UCSC.
https://team-harmony-dev.github.io/LiveColor_Website/
Other
1 stars 1 forks source link

Name efficiency, caching, and bugfixfixes #29 #56 #95

Closed DustinSeltz closed 4 years ago

DustinSeltz commented 4 years ago

76 fixed:

Added a hashmap for caching color names. Made color names more efficient by changing how data is stored.

Fix for backing out to ColorInfoActivity, now checks if the save button needs to be filled in (if you had saved in EditColor and then press back). #29 fixed. Fix for harmonies sometimes not generating when they should (bug from #56). Found a bug where multiline name shrinking doesn't work in all cases, set EditColorActivity to ellipsize if that happens.

Known bugs: Theoretically the hashmap could eat up too much memory. Capping it would be a good idea and should be easy, but I'm not sure how large a good cap should be.