Releases: DIPSAS/DIPS.Xamarin.UI
v10.0.4-pre002
- Shell application support for Toast
v10.0.4-pre001
Added bool to double converter (#310)
Version 10.0.3
- Fixed SlidableContentLayout not responding on some Samsung devices
Version 10.0.2
- Added a public
Redraw()
method toSlidableContentLayout
for reloading the view's content manually.
v10.0.2-pre001
Added public Redraw() method for redrawing slidable content layout (#…
Version 10.0.1
- Small visual changes to modality layout blur background.
- Fixed bug where tap events on some androids wasn‘t passed through to child container in Sheet.
- Small performance improvement on iOS in SheetView.
- Changed default value of
SheetOpeningStrategy
toFirstSnapPoint
in SheetView.
Sheet 2.0
Sheet update
Behavioral changes
Snapping
SnapPoints
determines where the Sheet
can come to "rest". When a drag is ended the Sheet
will move to the closest snap point in the direction of the drag. The last given snap point will work as the max position of the Sheet
and the first will work as the lowest position the user can drag the sheet.
SnapPoints=".25,.98"
means the user can't close the sheet.
SnapPoints="0,.5,.98"
means the sheet will close if dragged below .5
.
Flinging
When the user quickly swipes/flings/drags up or down the Sheet
can either fully open or completely close. FlingSpeedThreshold
decides how sensitive the Sheet
is to flinging. Unit is pixels per second. We use the last 15 drag events as input.
Opening
How the Sheet
opens is decided by the SheetOpeningStrategy
property.
public enum SheetOpeningStrategy
{
FirstSnapPoint, // Opens to first snap point
LastSnapPoint, // Opens to last snap pont
MostFittingSnapPoint, // Opens to the snap point that will show all of the content
FitContent // Opens just enough to show the content
}
Scrollable content in the sheet
If there is a vertical scrollable view in the sheet content, the sheet will intercept all vertical drag gestures until the sheet has reached its max position. Can be disabled by setting InterceptDragGesture = false
.
IsBusy
Added bindable IsBusy
property that hides content and displays a spinner.
API changes
In addition to the newly added properties there are several breaking changes:
Alignment
is removed. A top sheet doesn't match the intended use of the component.MaxPosition
is removed. Replaced by the last snap point.MinPosition
is removed. Replaced by first snap point.Position
is by defaultOneWayToSource
. Settable behaviour is replaced bypublic void MoveTo(double position)
.- Removed position changed event and command.
ShouldAutoClose
is removed. Sheet will always close when dragged below the first snap point.ShouldRememberPosition
is removed.HasShadow
is removed.IsDraggable
istrue
by default.ContentColor
,TitleFontSize
andTitleColor
have changed default values.
v10.0.0-pre004
Sheet MoveTo()
animates change.
v10.0.0-pre003
Visual changes.
Animation changes.
Sheet updates
Added busy view.