I have a custom class that creates OverlayItems and puts them into an array. It will do this away from the main thread.
I try and use
- Code: Select all
Drawable test = getResources().getDrawable(R.drawable.icon);
But get the following error....
The method getResources() is undefined for the type XMLHandler