android - How to display total day count and set default? -


i give total 10 days.i need result today count 10, tomorrow reduce 1 day show count 9,hereafter regularly reduce values 1.

i tried display default day count, can't idea, can .pls give ideas how viewed day count.

save "today + 10" in sharedpreferences. @ every run, current day , subtract value saved.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -