Releases: smith8h/SDialogs
Releases · smith8h/SDialogs
4.5.0
4.4
Fixes & Changes
- Fix adding new items to
MenuSDialog
, now you can add new list to existing items or update them with whole new list. - Fix throwing
NullPointerException
when callingsetCancelable()
beforesetView()
inCustomSDialog
, read docs to see changes in creating new instance ofCustomSDialog
. - Fix throwing
NullPointerException
when passing a view containing IDs same to SDialog view's IDs inCustomSDialog
. - Add
Deprecated
warning to all unsupported methods inCustomSDialog
.
New Features & Improvements
- Add new text input field to accept user feedback in
FeedbackSDialog
. - Add new method
setInputHint(text)
toFeedbackSDialog
.
Full Changelog: 4.3...4.4
4.3
4.2
4.1
What's New:
- New method for ALertSDialog, ItemsSDialog, SingleselectSDialog and MultiSelectSDialog 'setMaxHeight' to set a max height for the scrollview and recyclerview inside them and ignore content goes out of screen.
- New methods for PatternSDialog 'setPatternViewHeight' and 'setPatternViewWidth' to set height and width for the patternview.
- Fix AlertSDialog center aligning.
- Some bug fixes.
Full Changelog: 4.0...4.1
4.0
What's New:
- Fix 'Neutral' button was always null in AlertSDialog.
- New Feedback type of SDialog.
- Fix PatternSDialog center alignment.
- Migrate adapters to Kotlin.
- Migrate Interfaces to Kotlin.
- Update PatternLockView and fix jcenter() issues, THANKS TO @kimoandroid.
- Improve ProgressSDialog progress design (SDK 29+ will be Material themed, and SDK 28- will be normal progress).
- Redesign AlertSDialog.
- Added support for fragments & multi threading.
- All types of SDialog now support adding title from strings.xml resource.
- Update calculating lighter & darker colors using SColor lib.
- New PatternSDialog callback method 'onDrawingProgress' will triggered whenever the pattern being drawn, and return the current pattern progress as string.
- New 'dismiss(duration)' method, allows you to dismiss the SDialogs automatically after a duration of time in milliseconds.
- Fix SliderSDialog track height onProgressChanged.
- all dialogs now supports RTL (Right to Left) layout direction.
- Added a new negative (Cancel button) to ProgressSDialog to cancel the current running process.
3.0
2.0
What's new:
• Added missed methid 'setInputFieldText()' for InputSDialog.
• Added Icon for all dialogs (except for CustomSDialog and LoadingSDialog).
• Now (Progress, Loading, Input and Alert) SDialogs has a method of adding text from resources (R.string.text). and AlertSDialog has the ability to accept 'Spannable' text too!.
• New SDialog type (SliderSDialog).