Xamarin.Forms 4 is the newest version of Xamarin.Forms. It includes many new features. The most notable additions in this version are Shell, CollectionView and Visual.
Questions tagged [xamarin-forms-4]
45 questions
4
votes
2 answers
New Xamarin Forms 4.6 MediaElement not working for Android
I tried out the new Xamarin Forms 4.6.0.726 MediaElement control in a very simple Xamarin Forms Shell Project.
I added the MediaElement control in a ContentPage and set its properties (AutoPlay on true, IsLooping on true, Source on an mp4 file,…

Daniel Simon
- 53
- 1
- 6
3
votes
1 answer
Xamarin forms collection view ItemsUpdatingScrollMode for UWP
I'm using xamarin forms 4.4. Using ItemsUpdatingScreollMode="KeepLastItemInView" does not work on UWP as UWP does not support it yet. Is there any workaround useful while they release the newest version?
Ref. collection view progress:…

Esteban Chornet
- 928
- 3
- 14
- 38
3
votes
2 answers
Xamarin Forms crash with async Http call
I am developing a Xamarin.Forms (4.1.0) app, which makes REST calls.
When calling my web service, the application crashes, with no exception.
Only got this message on the output:
07-08 19:09:04.792 F/ (22723): * Assertion at…

Rom Eh
- 1,981
- 1
- 16
- 33
2
votes
1 answer
Ability to Take or Select Photo from Gallery in Xamarin
Is there a way in Xamarin.Forms iOS to take photo or select image from Gallery?
Same functionality when you open a camera in the device. It will give you ability to take a photo or open gallery.

ramdev
- 137
- 1
- 9
2
votes
1 answer
Search Text Formatting, First Upper, Rest Lower
I have a search-bar in my application, And i'm not to sure what the best practice is?
Is it First Upper, Rest Lower. All Lower, All Upper
And what is the best way to Approach First upper, Rest Lower?
Filtering my Listview in relation to the Search…

Someguy
- 414
- 3
- 16
2
votes
3 answers
How do I make Xamarin.Forms.iOS View scroll to the Entry that is in focus?
I have a login page with 3 Entry controls under a large image logo and a Button control at the bottom of the page, when I click on the top Entry control to bring the Entry into focus to start typing, the keyboard appears and covers up the Entry…

CookieMonster
- 51
- 7
2
votes
1 answer
UIKit.UIKitThreadAccessException: UIKit Consistency error: you are calling a UIKit method that can only be invoked from the UI thread
I'm trying to run this code:
GetRepsButton.Command = new Command(async () =>
{
var url = @"https://url";
HttpClient client = new HttpClient();
client.DefaultRequestHeaders.Accept.Add(new…

Kyle
- 32,731
- 39
- 134
- 184
1
vote
0 answers
Android Auto media app issue with duplicate apps
We developed a Mobile app with Xamarin forms. Now we want to give support for Android-Auto (Cars).
Made all the necessary configurations to make it work for our media player-related app on Android Auto.But I am able to see the 2 apps on the Android…

user1613217
- 21
- 3
1
vote
1 answer
ProgressDialog.Refresh () - Unable to add window - token android.os.BinderProxy is not valid; is your activity running? in xamarin android
We are using Acr.UserDialogs nuget in our application. We are getting below error in appcenter.
ProgressDialog.Refresh ()
Java.Lang.RuntimeException: Unable to add window -- token android.os.BinderProxy@23d80a3 is not valid; is your activity…

SoftDev
- 277
- 1
- 3
- 13
1
vote
1 answer
Capture Screenshot of whole scrolling Page in Xamarinforms
I am using Xam.Plugin.Screenshot to take screenshot of a page, but unfortunately I am unable to capture the whole view, it's only capturing the content that is on the screen, not the content that is below in scrollview .... I am using below code to…

Shakaib Akhtar
- 381
- 3
- 10
1
vote
0 answers
UI unresponsive after back navigation from page with MediaElement, only in iOS
I have a ContentPage (called VideoPage) in which I add a MediaElement, no autoplay, no playback controls displayed.
I navigate to this page from another ContentPage (called MainPage), with Navigation.PushAsync(new VideoPage())
Sometimes when I…

Daniel Simon
- 53
- 1
- 6
1
vote
0 answers
How to embed camera in Xamarin form and take image with custom button click?
So as you can see in the above image I have an requirement to embed camera in Xamarin form based android application (Not native android) and show the saved path in label (Storage location).
Right now I am able to do is on button click but its…

JARVIS
- 765
- 1
- 8
- 28
1
vote
2 answers
How do we increase the height of flyout item in shell(Xamarin forms)?
I am trying to change the default height of menuItem in Xamrian Froms, but I am unable to change it.

Neeraj Kumar
- 771
- 2
- 16
- 37
1
vote
2 answers
How to decode special character in Xamarin forms?
How to decode spacial character in xamairn forms
Inside my label text = "Sample & Text"
instead of showing original text, its showing "Sample & Text"
so how to solve this?

Vidhya
- 443
- 8
- 27
1
vote
2 answers
not a valid calendar for the given culture.parameter name: value
here is my scenario. i build xamarin forms app. when the user device language is English it works fine..but in Arabic language . any page he open that contains DatePicker or datetime the app crashes ..any help please.

Ahmed Omer
- 43
- 1
- 4