Skip to content
#

xamarin-forms

Here are 2,192 public repositories matching this topic...

Prism
thomasgalliker
thomasgalliker commented Mar 22, 2020

Summary

Xamarin.Forms 4.2 added the method 'InvokeOnMainThreadAsync' to it's static Xamarin.Forms.Device class. It's nothing more than a TaskCompletionSource trick in order to make BeginInvokeOnMainThread awaitable. Now, it would be wonderful to have InvokeOnMainThreadAsync either as part of IDeviceService or maybe even better as extension method of IDeviceService (as it does not really add a

mobile
yonkahlon
yonkahlon commented Nov 20, 2019

🏗 Enhancement Proposal

Provide more information on where to put the Initilize() method for iOS and Android.

For iOS in AppDelegate:

public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
    Xamarin.Forms.Forms.Init();
    var config = new FFImageLoading.Config.Configuration()
    {
        VerboseLogging = false,
        VerbosePerformanceLogging = fa
csla
sarkreth
sarkreth commented Jul 6, 2017

I just fixed a problem that would manifest differently on every platform on which I tried it. Upon a quick browse of open issues, I think this covers at least #218 and #196.

Basically, it turned out that it's necessary to call ICharacteristic.StopUpdatesAsync() for every ICharacteristic.StartUpdatesAsync() before calling IAdapter.DisconnectDeviceAsync(). I suggest making the de-registering of t

nesterenko-kv
nesterenko-kv commented Oct 5, 2017

Here few useful aliases and mixins:

alias SolidColorBrush(key, color) 
{
  SolidColorBrush Key=$key
  {
    Color: $color
  }
}

alias Thickness(key, left, top, right, bottom) 
{
  Thickness Key=$key
  {
    Left: $left
    Top: $top
    Right: $right
    Bottom: $bottom
  }
}

mixin Size(width=none, height=none) for FrameworkElement
{
  Width: $width
  Height: $height

Improve this page

Add a description, image, and links to the xamarin-forms topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the xamarin-forms topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.