posted 9 years ago
Today, i faced new weird problem.
i am making an application which has 10 Activity in it, and i want to set background image to all.
So the problem is, i do not want to write same code 10 times for each activity.
Instead doing that i create a regular class and add background creation codes in it
there the problems start.
If i write code inside of each activity then works perfect but not from other class.
I have tried many different ways but no luck, seems my background class does not get setting class resource.
How can i solve this?
Regards
Settings class
and DrawBackground class