posted 10 years ago
I am developing an Android apps which include plenty of image for each attraction place. For example, when user clicks on UK, there should be specific for UK and when clicks on US, there are another images.
Currently I am using ImageSwitcher and hardcode to display the images
If I put the `R.drawable.UK_1,R.drawable.UK_2,R.drawable.UK_3` in the database, how can I put this image path in the final Integer[]? And all these codes are required to done in the AsyncTask since I need to retrieve the data from the database and display it while user clicks on certain attraction place.
Current Code:
Classes: