diff --git a/app/src/main/java/org/android/go/sopt/util/binding/BindingAdapter.kt b/app/src/main/java/org/android/go/sopt/util/binding/BindingAdapter.kt
index a4096a1..f2a584e 100644
--- a/app/src/main/java/org/android/go/sopt/util/binding/BindingAdapter.kt
+++ b/app/src/main/java/org/android/go/sopt/util/binding/BindingAdapter.kt
@@ -17,4 +17,15 @@ object BindingAdapter {
transformations(RoundedCornersTransformation(50f))
}
}
+
+ @JvmStatic
+ @BindingAdapter("setCircleImage")
+ fun ImageView.setCircleImage(img: String?) {
+ load(img) {
+ placeholder(R.mipmap.ic_go_sopt)
+ error(R.drawable.ic_image_not_supported)
+ fallback(R.drawable.ic_image_not_supported)
+ transformations(RoundedCornersTransformation(1000f))
+ }
+ }
}
diff --git a/app/src/main/res/layout/fragment_follower.xml b/app/src/main/res/layout/fragment_follower.xml
index 6e0ea78..03dc4e5 100644
--- a/app/src/main/res/layout/fragment_follower.xml
+++ b/app/src/main/res/layout/fragment_follower.xml
@@ -1,7 +1,7 @@
@@ -13,17 +13,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
-
+ app:spanCount="2"
+ tools:listitem="@layout/item_follower" />
\ No newline at end of file
diff --git a/app/src/main/res/layout/header_follower.xml b/app/src/main/res/layout/header_follower.xml
new file mode 100644
index 0000000..026e3f0
--- /dev/null
+++ b/app/src/main/res/layout/header_follower.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/item_follower.xml b/app/src/main/res/layout/item_follower.xml
new file mode 100644
index 0000000..346be79
--- /dev/null
+++ b/app/src/main/res/layout/item_follower.xml
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/item_gallery_image.xml b/app/src/main/res/layout/item_gallery_image.xml
index 740c0a9..5c93de6 100644
--- a/app/src/main/res/layout/item_gallery_image.xml
+++ b/app/src/main/res/layout/item_gallery_image.xml
@@ -1,7 +1,6 @@
-
+
@@ -10,15 +9,15 @@
+ android:layout_height="match_parent">
+ app:layout_constraintTop_toTopOf="parent"
+ tools:src="@drawable/ic_image_not_supported" />
SEARCH FRAGMENT
- FOLLOWER FRAGMENT
+ Followers
이름 : %s