Entry Auto Complete on Xamarin.forms - xamarin.forms

I have a Entry Control on Xamarin.forms, I want to make this Entry to display auto complete values? Is that available on Xamarin.Forms?

Xamarin Forms Labs (XLabs) has an AutoCompleteView, the XLabs package is not being maintained going forward, but you could use it as guidance to make your own.
https://github.com/XLabs/Xamarin-Forms-Labs/wiki/AutoCompleteView

To do that I'm using the SFAutoComplete plugin, it have a lot of features to customize your autocomplete, you can see it here:
https://help.syncfusion.com/xamarin/sfautocomplete/overview
https://www.syncfusion.com/products/xamarin/autocomplete

Related

master detail xamarin forms using mvvmCross

I already start using mvvmcross and i want to learn how to use a master/detail navigation. I can't find MvxMasterDetailPage described in this solution.
I have spent two days trying to start a master/detail navigation and nothing. I wouold like to do it with Xamarin Forms; i don't want to create any other presenter class but use the MvxFormsDroidMasterDetailPagePresenter for android. I had tried create a MvxFormsDroidMasterDetailPagePresenter in setup and also use MvxMasterDetailViewModel and nothing work.
Can some one please explain me or guide me to others options. Thanks.

Xamarin Forms photo Pan/Scale/Crop plugin?

I'm making app with using XF pcl.
To make photo viewer/editor function, you should add Pan/Scale/Crop.
Is there good plugin that somebody already have done for it?
Of course I can make my own but
It's very common behavior so I'm curious.
Thanks.
You might want to try this, this library has a lot of different transformations.
https://github.com/luberda-molinet/FFImageLoading
https://www.nuget.org/packages/Xamarin.FFImageLoading.Forms/

How to add overlay text to camera screen in xamarin forms?

I would like to add an overlay to the camera.How can it be done in xamarin forms
The ultimate answer is always that you can write a custom renderer for your camera control and add the overlay using you platform native capabilities.
For a Xamarin.Forms solution that doesn't involve custom renderers it is important to know what camera control you are using to begin with.
If you are using the XLabs camera control you could inject your custom MediaPicker.cs directly after registering the service.
A customrenderer is the answer. You could easily use AVFoundation, see this blog post that got me going https://blog.xamarin.com/how-to-display-camera-ios-avfoundation/.
I did this by creating a custom control following the steps in this link: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/custom-renderer/view
It's very basic and you'll need to add more things to have a full usable camera, but it's a good start.
There is a discussion around the focus for that camera in here: Camera Using custom Camera Preview Renderer is not clear

Sample with Xamarin.Forms and Vuforia?

Where can I find a working example that uses the library "Vuforia" in Xamarin.Forms portable (Droid+iOS) for WinPhone I know that does not work?
Or working converted library for specific platform?
From what I understand. Xamarin is for Custom Touches and UI. So when it comes to Vuforia, the only feature it is going to use is the augmentation.
Hence, if you want to use Xamarin for it's functionalities, you can do so but it will not interfere with the Vuforia virtual touch buttons.
I hope this is what you asked for. Examples this specific aren't available online, I would think.

Xamarin Forms Maps - Custom Pin Images

Is there a way to change the image of the pins in Xamarin Forms Maps. I want to make the pin a custom image, if it has to be done natively, can someone give me a simple example of it. Thank you.
To anyone coming to the later, this is now well supported in Xamarin Forms.
In essence you need to create a custom map class in your PCL or shared code that inherits from the Xamarin Forms Map and then create a Custom Renderer in each of the platforms' projects.
Those custom renderers will be different for each platform, dealing with the specifics of rendering icons and any pop up information shown when you click on that pin for that particular platform. You are not obliged to create a custom renderer for all platforms, for any that you don't a normal map will be displayed.
This is all now really well documented in the Custom Renderers | Customizing a Map section of the Xamarin Forms Developers Guide. That documentation walks through creating a custom renderer for Android, iOS and UWP and explains the code needed in detail. There's a lot of it, so I won't reproduce it here. There is also an accompanying sample solution here.
One point worth noting is that if you are trying to reproduce that code in your own project you will also need to add the images in the various drawable folders in the ProjectName\Droid\Resources directory, and also the two axml files in the layout directory.
Apparently this is quite locked down and you have to look at custom renderers to achieve what you are needing.
There is a discussion about this on the following link:-
http://forums.xamarin.com/discussion/17916/customization-of-xamarin-forms-maps-pins
, with specific reference to a project at the following link which someone has implemented custom image pins from the Assets folder:-
https://github.com/paulpatarinski/ShouldIWashMyCar/blob/master/Android/Renderers/MapViewRenderer.cs
I haven't tried this yet, however this would probably be a good place to start when looking to customize map rendering.
This project might be helpful to you. raechten/BindableMapTest
From the description:
Small sample for binding a collection to a Xamarin Forms Maps pins
(valid until binding directly to the Pins property will be supported
by Xamarin Forms directly).
Includes custom and clickable pins.
It has Android and iOS implementations.

Resources