0
我要做的Android應用程序,其中包括畫廊與GridView和圖像應該從XAMPP服務器,而不是從一個文件夾(繪製)是這樣的:GridView控件與XAMPP服務器映像
public class ImageAdapter extends BaseAdapter implements ListAdapter {
public static int[] images = {R.drawable.image1, R.drawable.image2,
R.drawable.image3, R.drawable.image4,
R.drawable.image5, R.drawable.image6,
R.drawable.image7, R.drawable.image8,
R.drawable.image9, R.drawable.image10,
R.drawable.image11, R.drawable.image12,
R.drawable.image13, R.drawable.image14};
private Context context;
public ImageAdapter (Context applicationContext)
{
context = applicationContext;
}
而且圖像應可點擊(縮放)。謝謝:)!
謝謝你幫助我! –