Skip to content

Releases: DIPSAS/DIPS.Xamarin.UI

v10.0.4-pre002

28 Jun 11:24
Compare
Choose a tag to compare
v10.0.4-pre002 Pre-release
Pre-release
  • Shell application support for Toast

v10.0.4-pre001

28 Jun 07:55
0582f30
Compare
Choose a tag to compare
v10.0.4-pre001 Pre-release
Pre-release
Added bool to double converter (#310)

Version 10.0.3

13 Jun 11:48
85faa0d
Compare
Choose a tag to compare
  • Fixed SlidableContentLayout not responding on some Samsung devices

Version 10.0.2

01 Apr 06:47
0a1bb2b
Compare
Choose a tag to compare
  • Added a public Redraw() method to SlidableContentLayout for reloading the view's content manually.

v10.0.2-pre001

29 Mar 07:59
427b0ab
Compare
Choose a tag to compare
v10.0.2-pre001 Pre-release
Pre-release
Added public Redraw() method for redrawing slidable content layout (#…

Version 10.0.1

12 Jan 14:57
54db73f
Compare
Choose a tag to compare
  • 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 to FirstSnapPoint in SheetView.

Sheet 2.0

05 Jan 18:37
ed0ef2d
Compare
Choose a tag to compare

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 default OneWayToSource. Settable behaviour is replaced by public 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 is true by default.
  • ContentColor, TitleFontSize and TitleColor have changed default values.

v10.0.0-pre004

05 Jan 12:23
Compare
Choose a tag to compare
v10.0.0-pre004 Pre-release
Pre-release

Sheet MoveTo() animates change.

v10.0.0-pre003

05 Jan 11:33
Compare
Choose a tag to compare
v10.0.0-pre003 Pre-release
Pre-release

Visual changes.
Animation changes.

Sheet updates

04 Jan 11:30
Compare
Choose a tag to compare
Sheet updates Pre-release
Pre-release

Added busy view.