Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Sample code for CarouselView + IndicatorView on Tizen #346

Closed
matthewkrueger opened this issue Aug 13, 2020 · 4 comments
Closed

Sample code for CarouselView + IndicatorView on Tizen #346

matthewkrueger opened this issue Aug 13, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@matthewkrueger
Copy link

The documentation mentions that IndexPage is deprecated and to use CarouselView + IndicatorView instead.

The problem is there are no examples of how to accomplish this. I've tried to figure it out using other examples from Xaramin.Forms samples (not tizen-specific) and I am able to get a CarouselView, but the indicators are not showing on top of the screen, and they are not rounding to fit the circular watch screen like IndexPage does.

Please update the documentation and sample project to provide an example of how to accomplish CarouselView + IndicatorView on a Tizen watch.

For now I'm just using IndexPage, but as this is a brand new app I'd really like to not release this using deprecated libraries.

Thanks!

@matthewkrueger matthewkrueger added the enhancement New feature or request label Aug 13, 2020
@Machinero
Copy link

@matthewkrueger
Have you tried to use the example from issue #330?

@myroot
Copy link
Collaborator

myroot commented Sep 21, 2020

Here is a sample code for CarouselView and IndicatorView

image

https://gist.github.com/myroot/e5e9f88f46ade609ef51fecf917b322c
CarouselViewSample.zip

@myroot myroot closed this as completed Sep 21, 2020
@EmilAlipiev
Copy link
Contributor

EmilAlipiev commented Dec 16, 2020

what is the reason IndexPage was deprecated? wasn't it a better way of carouselview?
I have wrote into other issues as well that problem here is we use indexPage like tabbedpage on xamarin.forms and it causes confusion when you cannot have multiple pages on a single view.

@rookiejava
Copy link
Contributor

Hi @EmilAlipiev! Happy new year!

The main reason is that IndexPage is a MultiPage that does not provide special features, so there is no need to provide it as a separate class. If you want to use a Page rather than a View, I recommend using CarouselPage. (Both are almost the same)

See the xamarin guide below for more details on why CarouselView replaces CarouselPage.
https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/navigation/carousel-page

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants