Releases: roubachof/Sharpnado.Presentation.Forms
Fix for HeightRequest HorizontalListView
Segmented Control, Shadows and Blur
Featuring:
- Segmented Control (iOS style)
TabHostViewwith custom shadows- Sharpnado.Shadows
v1.0.2 - MaterialFrame with AcrylicBlur
v1.1.1
Breaking changes
Starting from 1.7, the TabHostView inherits directly from Shadows. It means you can add as many shades as you like to your tab bar.
It behaves exactly the same as the Shadows component.
Since shadows are now handled by Shades, the old shadow renderers have been removed.
The ShadowType property is gone.
For more information about custom shades, visit the Sharpnado.Shadows repo.
MaterialFrame new AcrylicBlur theme
This release is bringing the new MaterialFrame with blur support to the Sharpnado.Presentation.Forms package:
https://github.com/roubachof/Sharpnado.MaterialFrame
The HorizontalListView package is also updated, its inner implementation of the MaterialFrame has been removed, you need to add the MaterialFrame package if you want to use the new features.
Fix MonoAndroid 10 compilation
Should fix #102 for good.
Updated Icon.
Sharpnado goes Acrylic with AndroidX compatibility
Sharpnado 1.5 is going @MicrosoftDesign Acrylic! Thanks to the new #XamarinForms MaterialFrame component supporting dynamic theming.
https://www.sharpnado.com/sharpnado-goes-acrylic/
New
MaterialFrameAcrylic theme- Doc here https://github.com/roubachof/Sharpnado.Presentation.Forms/wiki/MaterialFrame
Xamarin.Forms 4.5 AndroidXsupport
Fix
Dark Drag'n'Drop'n'Refresh
Fixes
- #94 fixed background color and shadow type update for
TabHostView - #95 fixed
UpdateTextVisibilitythrowing null reference exception while styling the global class - fixed usage of
RefreshViewwithHorizontalListViewon ios - fixed tintable image on ios with a lovely nasty trick
- disabled [android]
RefreshViewwhile drag and drop is in progress
Improvements
- added material dark theme to
MaterialFrame: elevation is converted to dark background according to: Material dark theme specs - #85 added
IsDraggableproperty toDraggableViewCellto prevent the dragging of chosen items - #91 added clicked event handler for
TabButton - #97 updated
IconImageSourceproperty type fromstringtoImageSource
Refactoring
TaskLoaderViewis now a package dependencyNotifyTaskhas been replaced byTaskMonitor
Scrollable tabs, TabButton and HorizontalListView fixes
Tabs Fixes and improvements
BREAKING CHANGE
TabItem needs now to be inside the Tabs property of the TabHostView:
<tabs:TabHostView x:Name="TabHost"
Grid.Row="2"
BackgroundColor="White"
SelectedIndex="{Binding Source={x:Reference Switcher}, Path=SelectedIndex, Mode=TwoWay}"
ShadowType="Top"
TabType="Fixed">
<tabs:TabHostView.Tabs>
<tabs:BottomTabItem Style="{StaticResource BottomTabStyle}"
IconImageSource="house_96.png"
Label="{localization:Translate Tabs_Home}" />
<tabs:BottomTabItem Style="{StaticResource BottomTabStyle}"
IconImageSource="list_96.png"
Label="{localization:Translate Tabs_List}" />
...- Added Scrollable TabType
- Added TabButton (for circle button)
[Feature] Enable Tab visibility toggle
#47 Binding to IsVisible property of the TabItem wasn't working, should be fixed with this release.
HorizontalListView holiday fixes
List goes blank after reset event
#81 This fix make it possible to bind the HorizontalListView to the DynamicData.Binding.ObservableCollectionExtended collection.
How to prevent a ListView from scrolling to the beginning at the ItemsSource update?
#77 Will keep CurrentIndex after reloading the bound ItemsSource.
[Android] Can't set padding correctly
#64 Weird little padding added on android removed.
[Android] DragAndDropEndedCommand called before the item is reordered in the collection
[Android] ObjectDisposedException thrown when adding or deleting items to/from ItemsSource
#72 Added some guards to protect from adapter disposal.
[iOS] NullException at iOS.Effects.iOSViewStyleEffect.OnDetached
New TapCommand property
Fixes
- #62 The CollectionPadding, ItemSpacing and ItemWidth specified doesn't allow a single column to be displayed
- #61 Tap gestures not working while using DragAndDrop
- #57 App crash using Sharknado tabs with Xamarin Shell (thanks @stackunderflows)
- #54 ObjectDisposedException thrown when adding or deleting items to/from ItemsSource after reopening a view
Drag and drop
If you want to have both drag and drop enabled and still be able to tap the item, you need to use the TapCommand instead of the TapCommandEffect.
It's less nice since you won't have the color ripple, but it will work :)
HorizontalListView.ListLayout is now a bindable property
Improvements
The HorizontalListView Layout can now be changed dynamically.
Bug fixing
- ISSUE #37 DataTemplateSelector - wrong Data Template recycled
- ISSUE #45 Mistake in BindableProperty
- ISSUE #40 Extra space when change HorizontallListview HeightRequest
- ISSUE #41 UIKit Consistency error: you are calling a UIKit method that can only be invoked from the UI thread
- PR #44 NullReferenceException on _dragHelper
Pure Xamarin.Forms tabs
Pure Xamarin.Forms tabs
- Top tabs (android tabs style)
- Bottom bar tabs (ios tabs style)
- Custom tabs (be creative just implement TabItem)
- Independent
ViewSwitcher

