Releases: MindFlare56/AndroidTools
Translator
Declare translator to use it again without redefining the onResult();
setSource("lang"); setDestination("lang"); translator.add("new text", "lang", "lang");
Translator
Finally ended up with some working translator...
Was a pain in the ass but here it is!
All
Refactor
NfcFragment
Added Nfc support with few steps to follow.
Notification
Prebuild notification with builder pattern to set variables.
Android.DateTime
Fix
LinkedMap
Replaced default size by real size with method size();
LinkedMap
refactored methods
LinkedMap
List keys = buildComposedKeys(Object first, List seconds);
LinkedMap
After a couple hours of coding here come LinkMap that allow you to mix List and HashMap in order to have the best of both worlds. It might be heavier but it will sure be faster in a lot of case and more flexible. Created for situations like when you want to use and hashMap but you have to get the index of the data. Also added Link which is a replacement for Pair that gets confusing sometimes because the element is named first, second instead of key, value in Link. And added Lombok fix.