Is there a way to display CollectionView as if its an infinite view going in both directions in Xamarin Forms?
like android number picker does, where going up brings you back to the end of the list and going down to the bottom.
If scrolling towards the bottom Im just loading the list with content from the top which works great but going towards the top is the issue.
I tried hacking at it for a little while now and was trying to search for a previously asked post but no luck...
Related
I have an app it used Xamarin.Forms FlyoutPage. It is designed to open from left side. But I also want to support the Arabic language now. That's why I want to open it from right side.
I added FlowDirection="RightToLeft" to FlyoutPage. It made aligned to right side the all text. But the side menu has not been changed to open from the right side. I applied this right to left localization steps And I also changed localization settings of test devices. None of them could not changed flyout direction as right to left.
I also added following codes to xaml.cs of Flyout page. But it didn't work.
Flyout.FlowDirection = FlowDirection.RightToLeft;
Detail.FlowDirection = FlowDirection.RightToLeft;
I have seen Xamarin.Forms Shell flyout. And I tried it with an sample project. FlowDirection="RightToLeft" command works with shell. But it will take me a lot of time to turn it into shell. (Because my app has lots of page and my all navigation will change when i change it.)
That's why I am trying to find a way to rotate side menu as right to left with Xamarin.Forms FlyoutPage. How can I do it?
EDIT: I solved this. My problem occured because of FlyoutPage CustomRenderer. I used to use custom renderer to narrow the width of my side menu. And there is a line as "GravityFlags.Left" in custom renderer. This caused problem. I understand now. I changed it as "GravityFlags.Right". Maybe it helps another person.
I use embedded google slides for my website. Earlier, on android, tapping on the slides used to progress the slides. However, I'm noticing that in version 92.xxxxx, it is no longer happening. The user needs to click on the > button on the bottom navigation bar to progress the slides. However, the problem with that is the > button is too small and the user needs to be very careful while clicking it. For our use case, tapping on the slides was the best way to progress with the slides.
The only solution I can think of is to progress the slides at a specific interval. However, it is hard to figure out an interval that suits all the users. Is there any other possible solution? Like can we create two external navigation buttons and send the signal to the embedded slide?
I'm trying to find a control for Xamarin that allows you to pick a tool from a list of icons, but in a swipe format like in the iOS photo edit tools (image below).
I tried using CarouselView, but that only displays one item per swipe, and each item before and after - however I'd like around 5+ icons on screen, with the middle one selected.
If there isn't a control, I'll have to build one myself, but would prefer to use something that's already available if possible.
Thanks for any direction!
Oliver.
For me, the best practise for your case is to use the swipe gesture
https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/gestures/swipe
and write an expandable animation like this sample
https://github.com/devcrux/Xamarin.Forms-Expander
Alright I have no idea how to phrase, and I'm new to StackExchange so I hope this is in the right place.
Anyway, I'm working on a mobile HTML5 app right now, one that uses Phonegap/Cordova (and Bootstrap), and I wanted to have an animation whenever a user clicks on a link.
So when a user clicks the link, there will be a page transition to the left, and the linked page pops up.
How could I do this in CSS/JS?
Welcome to Stack Overflow,
To design an HTML5 mobile app, i will strongly recommand using a front framework, like jquery mobile, ionic or onsenui.
Here is how you can simply do the swipe transition with jquery mobile : http://www.w3schools.com/jquerymobile/tryit.asp?filename=tryjqmob_trans_slide
Hope this help
I'm looking to do a mobile web app in Wordpress. I need the template to have a thin (~3/4 inch) horizontal rectangular section at the very top that can be swiped to the left/right to serve as the navigation. Basically, every time you swipe this section to the right/left, it changes the page below it. I've seen templates where the whole page swipes, but not split in this was as I described it here. If anyone has any pointers for me on how to customize the template like this, I'd really appreciate it.
Try this plugin. They support Swipe left, right, up, down and double tap. you can specify the area where you want wordpress to register the gestures, say in your case it would be the ID of the Div you want user to swipe in. Let me know if you face any difficulty.