Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私がやろうとしているのは、iFunny や面白い画像アプリに似たアプリです。インターネットから直接画像リンクのリストを取得し、ギャラリーに画像を 1 つずつ表示できるようにしたいと考えています。ユーザーはスワイプして次の写真を見ることができます。これを行うには何を追加する必要がありますか。これまでギャラリーと仕事をしたことはありませんでした。ありがとうございました。
ギャラリーの にUri直接設定できます。ImageView次のように...
Uri
ImageView
Uri myUrl=Uri.parse(ImageUrlArray[Position]); imageView.setImageURI(myUrl);
使用したgetView方法でそれを行いImageAdapterます。
getView
ImageAdapter