Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 이미지 gps
- prettyJson
- onReceivedSslError
- jsontokotlinclass
- LOG
- skipcollapsed
- requestPermission
- App Startup
- Plugins
- Android
- 403 Error
- webview
- ExifInterface
- notification
- datastore
- notification bar
- BottomSheetDialog
- Git
- ChromeCustomTab
- kdoc-generator
- circlecrop
- shotcut
- itemAnimator
- notification setting
- onResume
- navigation component
- Blinking
- ActivityResultContracts
- application
- room
Archives
- Today
- Total
목록Glide (1)
Debbi Story
Glide circle 이미지에 테두리선 그리기
fun ImageView.loadCircularImage( model: T, borderSize: Float = 0F, borderColor: Int = Color.WHITE ) { Glide.with(context) .asBitmap() .load(model) .apply(RequestOptions.circleCropTransform()) .into(object : BitmapImageViewTarget(this) { override fun setResource(resource: Bitmap?) { setImageDrawable( resource?.run { RoundedBitmapDrawableFactory.create( resources, if (borderSize > 0) { createBitma..
안드로이드/Tip
2021. 7. 6. 11:33