Justawayのアイコン角丸対応
ネットワーク上の画像を読み込むのにPicassoというライブラリを使っていて、それに角丸処理を加えるサンプルコードがうまく見つかったのでサクッと終わった。
Bitmap加工する処理書けばいいだけなので別にPicasso関係ないんだけど。
// transformメソッドで加工処理を実装したクラスのインスタンスを指定する Picasso.with(context).load(status.getUser().getBiggerProfileImageURLHttps()) .transform(new RoundedTransformation(5, 0)).into(icon);