Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android & iOS Renderer #1

Open
TravyDale opened this issue Mar 9, 2016 · 7 comments
Open

Android & iOS Renderer #1

TravyDale opened this issue Mar 9, 2016 · 7 comments

Comments

@TravyDale
Copy link

I am still learning Xamarin so please be patient. How do I get this control to work with Android and iOS renderers? I am getting casting exceptions when I try to use your control when it is within another control that has a platform specific renderer. I see you started a renderer for your control but it doesnt look finished. What do I need to do to get it to work?

@TorbenK
Copy link
Owner

TorbenK commented Mar 11, 2016

The renderers are actually not needed. Can you give me a repro project or something?

@TravyDale
Copy link
Author

Yea let me get one setup. My current one is a mess. I will have a simple example showing what I am trying to do and explain the error I am getting. Just a heads up, I am trying to place your control within another "custom" control (https://github.com/gruan01/FlipView). Basically, I want each "view" in his control to be able to be flipped so I can see the backside of it.

@TorbenK
Copy link
Owner

TorbenK commented Mar 11, 2016

I will look at it as soon as I find some time.

@TravyDale
Copy link
Author

Hey, so I dunno what I did wrong in my previous project but when I was creating a new project to send to you, I noticed it was working as expect. Sorry for the confusion.

I will say that if I set a background color to one of the views, the tap doesn't register (hence not flipping). I literally just noticed this so I will look into it and see what I find. Unless you know what I am doing wrong.

@TravyDale
Copy link
Author

No clue why this isn't working. I am not 100% familiar with GestureRecognizers. I basically have a Grid within one of the Flipper Views. The OnTapped method never fires for that view. Any idea?

@TorbenK
Copy link
Owner

TorbenK commented Mar 14, 2016

It is probably consumed by another control. You probably want to listen to that tap and force the flip manually.

@LuAngelValencia
Copy link

Hi!, how can i flip to the backview with a button?
Something like this

Where RotateToLogin FLips the other view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants