An ImageView display in RecyclerView looks like window
WindowImageView
An ImageView display in RecyclerView, looks like window.
Usage
JitPack.io, add jitpack.io repositiory and dependency to your build.gradle:
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
compile 'com.github.Bleoo:WindowImageView:1.0.2'
}
<io.github.bleoo.windowimageview.WindowImageView
android:id="@+id/window_image_view"
android:layout_width="match_parent"
android:layout_height="180dp"
app:frescoEnable="false"
app:src="@drawable/timg" />
window_image_view.setFrescoEnable(true);
window_image_view.setImageResource(R.drawable.timg);
window_image_view.bindRecyclerView(recyclerView);
With Fresco
app:frescoEnable="false"
window_image_view.setFrescoEnable(true);
window_image_view.setImageURI(YourUri);