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.
ImageView から現在の画像の Uri にアクセスしてデータベースに保存する方法を楽しみにしていますが、セッターしか見つかりませんでした。
ゲッターはどこ??
ゲッターはありません。を呼び出すのはあなたなので、そのメソッドを呼び出すときに をデータベースにsetImageURI()保存します。Uri
setImageURI()
Uri
ImageViews常に (たとえば、描画可能なリソース、生成されたビットマップ) があるとは限らないことに注意してください。そのUriため、getter はありません。
ImageViews