Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/raver99/WalletView

WalletView is a control built in completely in Xamarin Forms that enables building a UI similar to the Apple Wallet App.
https://github.com/raver99/WalletView

Last synced: 3 months ago
JSON representation

WalletView is a control built in completely in Xamarin Forms that enables building a UI similar to the Apple Wallet App.

Awesome Lists containing this project

README

        

# Xamarin Forms WalletView

WalletView is a control built in completely in Xamarin Forms that enables building a UI similar to the Apple Wallet App.



ios.gif

# Getting started

- Clone the project and checkout the sample app
- Use the nuget package to install into an existing project on every platform
- [Nuget package](https://www.nuget.org/packages/Xamarin.Forms.Controls.WalletView/1.0.0)
- Install into your PCL/.NET Standard project and Client projects.

**Platform Support**

| Plugin | README |
| ------ | ------ |
| Xamarin.iOS | 10.0 |
| Xamarin.Android | 5.0 |

# Documentation

The iOS Wallet App has been given a lot of thought in order to display and use cards efficiently.
The WalletView was created to help build a simmilar view. It supports the following functionality:
- Display a list of cards that are stacked on top of each other, revealing only the most important information.
- The list of cards supports grouping
- When selected the other cards are animated out of view and the selected card is highlighted, revealing more information and actions
- There are some subtle parallax animations when over scrolling either on top or bottom
- Overscroll top - cards expand
- Overscroll bottom - cards collapse (fold)
- The layout is flexible enough to support CRUD actions on cards
- The Control supports templates for:
- Card Layout
- Header Layout
- Details View for when the item is selected

# Usage

**Use it like this in your XAML:**

```xml

```

**Declaring an card item template:**

```xml



```

**Declaring a header template:**

```xml



```

**Declaring a details template:**

```xml










```

# Limitations

- Because on Android, the native ScrollView does not support for overscroll, expanding and collapsing behavior of the card is not implemented.
- There is no support for virtualisation, though performance should not be a problem with a decent amount of cards

# License

The MIT License (MIT), see [LICENSE](LICENSE) file.