Releases: Jumman04/Jummania-Slider
[3.7] Fixed minor bugs with code improvement
[3.7] Fixed minor bugs with code improvement
Major Enhancements to Jummania Slider Library: Version 3.6
β¨ Enhancements in Jummania Slider v3.6
-
Internalized Animations: Optimized encapsulation with internalized animations for enhanced modularity.
-
Class Renaming: Achieved greater code consistency and readability through thoughtful class renaming.
-
New "widgets" Package: Introduced a dedicated "widgets" package for improved organization and enhanced usability.
-
Expanded Functionality: Added new classes (JIndicator.kt, Slider.kt, MyScroller.kt) to expand the library's functionality and versatility.
-
Code Refinement: Refined and optimized the codebase for improved efficiency, quality, and maintainability.
-
Modern Styling: Updated the style to provide a more modern and visually appealing appearance.
-
Documentation Update: Updated the README.md file to reflect these changes and provide relevant information to users.
-
Version Bump: Increased the Jummania Slider library version from 3.5 to 3.6 for the latest features and improvements.
[v3.5] Trimmed excess animations and boosted JSlider Library efficiency.
Enhanced Performance and Streamlined UI with Optimized Animations and JSlider Library
feat: Enhance JSlider with Alignment and IndicatorShapeTypes enums
Changes Made:
- Added the
Alignment
enum class to provide structured options for indicator alignment.- Includes values: LEFT, TOP, RIGHT, BOTTOM, CENTER, CENTER_HORIZONTAL, CENTER_VERTICAL, START, END.
- Introduced the
IndicatorShapeTypes
enum class for specifying indicator dot shapes.- Includes shapes: CIRCLE, HEART, SQUARE, STAR.
Additional Notes:
- The
Alignment
enum enhances the flexibility of setting indicator positions. - The
IndicatorShapeTypes
enum allows customization of indicator dot shapes. - These additions provide a more intuitive and customizable JSlider interface.
[Version 3.3] Enhanced Animations, Added Features, and Bug Fixes
Changes Made:
- Added 22 new animations, bringing the total to 38.
- Introduced new features:
indicatorUpdateMode
: Choose how the indicator updates.indicatorAlign
: Set the alignment of the indicator.indicatorGravity
: Specify the gravity of the indicator.
- Optimized code for improved performance.
- Resolved various bugs and issues.
Other Details:
- Updated documentation to reflect the changes.
- Tested compatibility with the latest Android versions.
- Reviewed and improved code quality.
Instructions for Users:
- If you are upgrading from a previous version, please check the updated documentation.
- Ensure that you have updated your dependencies accordingly.
The bug ('App crashes when getCount() = Int.MAX_VALUE.') has been fixed.
- Resolved a critical bug causing app crashes when using Jummania-Slider library with getCount() returning Int.MAX_VALUE.
Update Dot Indicator Movement with JSlider Slide
- Implemented a method to synchronize dot indicator movement with JSlider sliding.
- Added comments to enhance code readability and understanding.
- The dot indicators now move seamlessly with the slider during JSlider transitions.
- Made improvements to the code structure for better maintainability.
- Added isSliding() method to get whether the slider is sliding.
Feature Update and Library Enhancement
π Feature Update and Library Enhancement
In this commit, several exciting features and enhancements have been introduced to the library:
-
DefaultSlider and InfinitySlider:
- Added two new slider types,
DefaultSlider
andInfinitySlider
, providing users with more options for slider customization.
- Added two new slider types,
-
stopAutoSliding and startAutoSliding:
- Implemented methods to manually control the auto-sliding behavior of the slider. Now, users can stop and start the auto-sliding feature programmatically.
-
slideNext and slidePrevious:
- Added methods to facilitate manual navigation of slides. Users can now programmatically slide to the next or previous content.
-
setIndicatorMarginHorizontal:
- Introduced a new attribute to set horizontal margin for slider indicators in XML. This allows for more fine-grained control over the layout.
-
Updated jPlayer:
- The library now includes an updated version of jPlayer, enhancing overall performance and compatibility.
π XML Layout Update:
- The XML namespace for the JSlider component has been simplified for a cleaner layout declaration. Users are now required to use
<com.jummania.JSlider>
instead of<com.jummania.j_slider.JSlider>
.
π Compatibility Note:
- Ensure that you update your XML layout declarations accordingly to use the simplified namespace.
π οΈ Make sure to check the documentation for details on the new features and any required migration steps.
JSlider functionality has been improved.
JSlider functionality has been improved.
π This commit introduces several new features and improvements to the slider library:
- getSlidingDuration(): Retrieve the duration of the sliding animation.
- getIndicatorSize(): Get the size of the slider indicators.
- getDefaultIndicatorColor(): Obtain the default color of the slider indicators.
- getSelectedIndicatorColor(): Access the color of the selected slider indicator.
- addOnSlideChangeListener(): Add a listener to be notified when the slider position changes.
- stopSliding(): Pause the slider animation.
- startSliding(): Resume the slider animation.
These additions provide users with more control over the slider behavior, allowing customization of animation duration, indicator appearance, and the ability to react to slide changes. The stopSliding()
and startSliding()
methods offer convenient control over the slider's animation state.
π Make sure to update your implementation to take advantage of these new capabilities.
Empower Your UI with Seamless Slides: Introducing JSlider, the Universal Slider Library
Introducing Jummania-Slider, the Android slider library that empowers you to create captivating and engaging user interfaces with ease. Built with Kotlin, JSlider seamlessly integrates into your existing codebase, ensuring a smooth transition to a more dynamic and responsive user experience.
With its intuitive API and extensive customization options, JSlider empowers you to slide any layout, including images, text, or even custom components. Choose from over 17+ sliding animations to match your unique design requirements and create captivating visual transitions.
Key Features:
- Seamless integration with Kotlin-based Android projects
- Extensive customization options for tailor-made sliders
- Over 17+ sliding animations to enhance your UI
- Lightweight and performant for optimal user experience
Embrace the Power of JSlider and Transform Your Android Applications Today!