How to apply Page Transformer animation like Google Play Books app In CarsoulView

Faiz Quraishi 145 Reputation points
2024-11-22T16:55:45.1166667+00:00

I have a app in .Net MAUI API level 33 visual studio 2022

I am displaying my book content (50 pages ) in CarsoulView (one page at a time on screen) .

When i am scrolling any page in CarsoulView I want to apply animation

like Google Play Books app.Actually I need to add Flip book animation when item changed.

Is there any way to achieve it.

Developer technologies | .NET | .NET MAUI
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    2024-11-26T09:02:18.6066667+00:00

    Hello,

    Thanks for your feedback.

    Currently, Carouselview does not provide custom scrolling animation effects.

    Therefore, you need to use custom controls to implement the carousel using native controls.

    In Android, ViewPager or RecyclerView is usually used to implement a carousel with a Flip animation effect. To achieve this scrolling effect, you need to understand the following three parts.

    • How to set custom animations for native RecyclerView or ViewPager in Android.
    • How to implement the Flip effect through custom animation. Usually, this effect is implemented by the coordinate transformation of Translation.
    • How to apply Android native controls to Maui.

    You can search the above-mentioned related information through your browser. and refer to the following official Maui provided by Maui to implement custom Maui components through native controls.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

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.