[TUT] Easier / Quicker Generic Collection Creation

TweetSick of repeating your generics declaration?Sick of repeating your generics declaration? For a quick and easy way to create a collection of objects you can do the below. Create yourself a util class: Then each time you only need to declare your generics once. This is due to Type Inference. Inspired by Joshua Bloch’s – […]

[TUT] Array List of countries for arrays.xml

TweetJust created these two matching pair array’s of countries and county codes thought I would share them with everyone since I couldn’t find them myself. Could use the full names for a spinner selection and the short hand for database storage / look up / sending to a server. Or anything else! The Countries list, […]