I画像を表示する機能を使用して下記のように)読み込み画像表示ローディング進行
Bitmap imageBitmap = loadBitmap(URL);
loadBitmap(:
private Bitmap loadBitmap(String url) {
try {
Bitmap bm = BitmapFactory.decodeStream((InputStream)this.fetch(url));
return bm;
}
catch(Exception e) {
e.printStackTrace();
return null;
}
}
と、(フェッチ)以下:
public Object fetch(String address) {
try {
URL url = new URL(address);
Object content = url.getContent();
return content;
}
catch(Exception e) {
e.printStackTrace();
}
return this;
}
I読み込み中の進行状況を表示するか、読み込み中にload.pngを表示します。 そして画像のロード終了で終わり、それを表示します。 どうすればいいですか? 私はProgressDialogのようにしようとします。 しかし、私はどのように使用するのか分からないのですか?