見出し画像

日報-Picassoのせいじゃなかった、、、

端末内にある画像を一覧で表示する実装をマージした。

Picassoでcontent配下の画像が読み込めないと思ってたけど自分のせいじゃなかった


画面一覧に端末に保存されている画像を全て画面に表示させることができた。(Toolbarの表記バグってるのであとで直します。)

原因はレイアウトファイルにミスがあったからだった、、、

<android.support.constraint.ConstraintLayout
   xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="match_parent"
   android:layout_height="80dp"👈ここがmatch_parentになっていたから
   android:layout_margin="1dp"
   >

   <ImageView
       android:id="@+id/image_item"
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       android:contentDescription="@string/app_name"
       />

</android.support.constraint.ConstraintLayout>

Picassoのせいにしてごめんね、、、

ここから写真を選択してプロフィール画像を変更する処理を実装していく。

RecycleViewで画像を選択したように表現するの難しいな〜

投げ銭はいりません。それより無料でできる拡散をしてください!! 感想をツイートしていただけることが一番嬉しいです!!