Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
github.com/robinmanuelthiel/swipecards
A Tinder control for Xamarin.Forms that supports iOS, Android and UWP.
Add the NuGet package to the Xamarin.Forms project
PM> Install-Package Forms.Controls.SwipeCards
Add the XML namespace
xmlns:swipecards="clr-namespace:SwipeCards.Controls;assembly=SwipeCards.Controls"
Add the control
<swipecards:CardStackView
x:Name="CardStackView"
ItemsSource="{Binding Cards}">
<swipecards:CardStackView.ItemTemplate>
<DataTemplate>
<Label Text="{Binding}" VerticalOptions="Center" HorizontalOptions="Center" />
</DataTemplate>
</swipecards:CardStackView.ItemTemplate>
</swipecards:CardStackView>
Property | Default | Description |
---|---|---|
CardMoveDistance | null | How far the card has to be dragged to trigger the swipe. Default is 30% of the control |
Command | Parameter | Description |
---|---|---|
SwipedLeftCommand | Selected Item | Triggered, when card got swiped to the left |
SwipedRightCommand | Selected Item | Triggered, when card got swiped to the right |
Action | Parameter | Description |
---|---|---|
SwipedLeft | Selected Item | Triggered, when card got swiped to the left |
SwipedRight | Selected Item | Triggered, when card got swiped to the right |
StartedDragging | Selected Item | Triggered, when card got dragged |
FinishedDragging | Selected Item | Triggered, when dragging finished |
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.