在IOS/Android/Windows Phone上运行的Xamarin Forms是否有类似Tinder的应用程序



我是Xamarin的新手,我想知道如何在Xamarin.Forms(目标设备android、windows phone和iphone)中实现以下功能

POC功能:

  1. 应用程序应该能够在屏幕中央显示一堆10张的卡片。一次只显示一张牌,其他牌隐藏在最上面的牌后面。我们需要证明其他卡片都藏在后面
  2. 每张卡片的右角都有一个图像,图像旁边有一个文本描述,卡片底部有一个文字描述
  3. 用户应能够将顶部卡片拖动到左角跳过,并拖动到右角接受/批准卡片
  4. 当拖动卡片时,卡片背景将改变颜色,当用户捕捉并向左或向右拖动时,卡片将向左和向右倾斜(比如向左倾斜-25度,然后立即向右倾斜+25度)

请找到以下链接:IPhone:https://itunes.apple.com/in/app/tinder/id547702041?mt=8

我在Xamarin.ios原生版中看到了相同的ios Tinder代码,但我想知道如何使用Xamarin.Forms,它将在所有三个平台上运行而不会出现问题。

Xamarin.ios示例:https://components.xamarin.com/view/xcardview

谢谢Venkat M

如果你想要所有点的二进制答案(是/否),

1.Yes 
2.Yes
3.Yes with a condition,There is no straight forward way to achieve it , you will have to deep dive in custom renderer for each platform to achieve it.(limited support for gestures in forms without custom renderer)
4. Yes ,Again may require writing custom platform oriented code . 

最新更新