Releases: ImaginativeShohag/Why-Not-Image-Carousel
Releases · ImaginativeShohag/Why-Not-Image-Carousel
v2.1.1
What's Changed
- Upgrade dependencies to the latest version.
- Add live documentation. (Website)
- Fixed Grammatical Error in Library Documentation by @fin1te in #97
New Contributors
Full Changelog: v2.1.0...v2.1.1
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
);