Flip effect like Flipboard app in Xamarin forms ?

Bala 21 Reputation points
2021-03-08T07:29:54.403+00:00

Hi Team,

      We have plugin in react naive (react-native-flip-page) to achieve the flip effect like flip board mobile app. Do we have any plugin available to achieve this or tell me any way to achieve this effect

Please rply if anyone have any idea about thisy

Thanks

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alessandro Caliaro 4,196 Reputation points
    2021-03-08T07:32:05.977+00:00
    0 comments No comments

  2. Bala 21 Reputation points
    2021-03-08T08:00:20.697+00:00

    @Alessandro Caliaro Thanks for your rply...

    I have below code.Can you please help me on how to achieve flip effect. Whenver i flip from bottom to top each item should change.

    <CarouselView ItemsSource="{Binding Places}" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
    <CarouselView.ItemTemplate>
    <DataTemplate>
    <Grid>
    <Grid x:Name="FrontView" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
    <pv:PancakeView CornerRadius="20" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
    <Grid HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
    <Image Source="{Binding Image}" Aspect="AspectFill" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"/>
    <pv:PancakeView HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
    <pv:PancakeView.BackgroundGradientStops>
    <pv:GradientStopCollection>
    <pv:GradientStop Color="Black" Offset="0"/>
    <pv:GradientStop Color="Transparent" Offset="1"/>
    </pv:GradientStopCollection>
    </pv:PancakeView.BackgroundGradientStops>
    <StackLayout Margin="20,40" HorizontalOptions="Start" VerticalOptions="End">
    <Label Text="{Binding Name}" FontSize="25" FontAttributes="Bold" TextColor="White"/>
    <Label Text="{Binding Caption}" FontSize="12" TextColor="White"/>
    <Button BackgroundColor="#0099FF" Text="EXPLORE" TextColor="White" FontSize="12"
    WidthRequest="125" HeightRequest="35" CornerRadius="17" HorizontalOptions="Start"/>
    </StackLayout>
    </pv:PancakeView>
    </Grid>
    </pv:PancakeView>
    </Grid>
    </DataTemplate>
    </CarouselView.ItemTemplate>
    </CarouselView>


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.