I need to store a Class object in SharedPreferences so as to be able to retrieve it on another activity.
Here is the code:
ForecastIO fio = new ForecastIO(apikey);
fio.setUnits(ForecastIO.UNITS_SI);
fio.setLang(ForecastIO.LANG_ENGLISH);
fio.getForecast(""+latif+"",""+longit+"");
FIOCurrently currently = new FIOCurrently(fio);
How can I store "currently" in a SharedPreferences?