Improve how Forms handles Activity Restarts on Android
Summary Xamarin.Forms currently is tied to the lifecycle of an the MainActivity. This means if that activity is destroyed in anyway (OS kills it, etc) the app "restarts" and offers no way to handle...
View ArticleXamarin LiveReload - Just does nothing
After 3 days of beating on a brand new "Welcome to Xamarin" solution trying to get LiveReLoad to work... The best I can get is for the solution to not crash at launch. The solution runs on both...
View ArticleHow to consume an external api rest?
I need to consume a Rest API from an ERP Site, where I will list some items from this site, but I do not find anything useful that can help me to consume I am using json and http client to perform, but...
View Articlemapping entity framework
hi! how to create a many to many mapping in xamarin forms with entity framework sqlite? my two tables are customer public class Customer { [Key] public int CustomerId { get; set; } public string...
View ArticleBuild errors after Visual Studio for Mac update
After upgrading to the latest version of VS Community for Mac, my project no longer compiled. Also, I uninstalled and installed VS 2019, which also doesn't work. I get the following build error: The...
View ArticleHotReload LiveReload LiveXaml [Mac] [Windows] [nuget package] [opensource]
Hi all I want to introduce a nuget package which allows reloading XAML views from Visual Studio on your running app. This package works for Mac too! https://github.com/AndreiMisiukevich/HotReload
View ArticleIs there a way to trigger Flyout in Shell by own button?
Can I do something like below: var btn = new Button(); btn.Clicked += async delegate { ShowFlyout(); } Thanks for any Suggestion
View ArticleIs there a way to override a Back button press on Android?
I'm having issues with a ContentPage in my app. It consists of a WebView that fills the screen. There are links that users can click to be taken to different pages within the webview (these are all...
View ArticleCenter item in RelativeLayout
Hi guys, I have faced with another issue ... It is difficult to find how to center image or another item inside RelativeLayout ?! I have found something like this solution:...
View ArticleHow does one Programmatically determine the Screen Inch size of a device?
How does one Programmatically determine the Screen Inch size of a device i.e. 5", 5.7", etc.?
View ArticleDone callback from WebView
Hi all, in my XF application I have the possibility to open a web page. For do this, I use the Xamarin.Essential: await Browser.OpenAsync(url, opts);. I need to have a callback when the user tap on...
View ArticleXamarin Forms Android Fixed Notification
Hi all, I want fixed notification xamarin forms on android. I mean like music app or love counter app notifications unremovable and updateable. Also the notification package should be able to do them....
View ArticleFirebase push notifications with xamarin forms
I've added a project and an application on firebase which is linked to my testing application I created with Xamarin Forms. I downloaded the json file and placed it in my application and set the build...
View ArticleHow to access path of image
Hi xamarin forum, How can I get the path of my picture inside my mobile device using xamarin.form
View ArticlePrompt user to change battery optimization settings - Android
Hi, I am looking for some solution for disabling battery optimization setting for my application. When user install app first time and Battery optimization is enable, App should prompt custom popup...
View ArticleHow to improve performance of consuming a rest web services in xamarin form?
Hi need some help. I'm using refit api for consuming rest service but the problem is that performance is too slow, Ho can i improve performance in xamarin form.
View ArticleApp login credentials for Google Play monkey test
I'm using Xamarin Forms 4 (newest as of today). Upon uploading an artifact to Google Play, it automatically runs a "monkey" test on the artifact. If one provides "Login information", the monkey can...
View ArticleCannot Connect to sql
Hi Xamarin forum, Can somebody help because I got SNI_ERROR_35 when connecting to sql actually the debbuger stops at this line SqlCommand selectTbl = new SqlCommand("SELECT * FROM tablename WHERE...
View ArticleCoordinates from string to double or float
Hi everyone! I'm working with an API-Rest that generates me a JSON with a polygon (every coordinates of that polygon, shape). Well, I deserialize it in classes, but the coordinates deserialize in...
View ArticleLayout not updating in Android as expected
I dynamically configure a UI and for some reason in Andriod the views don't update as expected. When the device is rotated on Andriod the PageScrollView resizes but the child view zoomable doesn't (See...
View Article