Releases: ImaginativeShohag/Why-Not-Image-Carousel
Releases · ImaginativeShohag/Why-Not-Image-Carousel
2.1.0
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.3.0
Header field is added to the CarouselItem
.
Examples:
// Kotlin
val headers = mutableMapOf<String, String>()
headers["header_key"] = "header_value"
val carouselItem1 = CarouselItem(
imageUrl = "https://images.unsplash.com/photo-1549577434-d7615fd4ceac?w=1080",
caption = "Photo by Jeremy Bishop on Unsplash",
headers = headers
)
val carouselItem2 = CarouselItem(
imageUrl = "https://images.unsplash.com/photo-1549577434-d7615fd4ceac?w=1080",
headers = headers
)
// Java
Map<String, String> headers = new HashMap<>();
headers.put("header_key", "header_value");
CarouselItem carouselItem1 = new CarouselItem(
"https://images.unsplash.com/photo-1549577434-d7615fd4ceac?w=1080",
"Photo by Jeremy Bishop on Unsplash",
headers
);
CarouselItem carouselItem2 = new CarouselItem(
"https://images.unsplash.com/photo-1549577434-d7615fd4ceac?w=1080",
headers
);
1.2.1
We move our library from jitpack.io to maven repository. So no need to add any repositories for using the library.
View binding added to the sample. Dependent libraries updated.