Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all 81910 articles
Browse latest View live

In XF App PopModalAsync not invoking OnAppearing in called page on iOS13

$
0
0

A details page is called using

await Navigation.PushModalAsync(new NavigationPage(new DetailsPage(Item)));

The details page returns control to called page using

await Navigation.PopModalAsync();

Then on returning to the called page the OnAppearing() is invoked. This is still happening in Android app but not in app deployed to iOS13. But in iOS 12.x OnAppearing() is still invoked.

Any reasons? Is it a bug?


With XF 4.2.x.x the busy spinning wheel displayed on an app is loaded and run.

$
0
0

This was happening in both Android and iOS. But currently with XF 4.2.0.848062, I see it only in Android. The busy icon goes off if I either go to a page and come back or change the ItemTemplate of the ListViewItem.

Any trick to avoid it? This was not the case with XF 4.1.x.x.

Working with list view controls in UITest

$
0
0

Hi,

I'm trying to figure out why I cannot see all the listitems in my syncfusion listview using UITest or REPL. I can use a query such as app.Query(x=>x.All()) to see all the items on a page that doesn't have a listview, even though many of the items are scrolled way off screen. But trying this on a view that is basically just a big syncfusion listview only can see the individual listitems that are displayed or partially displayed on screen. It's almost as if All() doesn't work with listviews.

What I'm trying to do is get a count of listitems, and scroll to a specific index. But if there are many (say 20) and I can only see 5, I cannot scrolldownto the xth > 5 index item because it simply cannot be seen.

Any thoughts? Is it the control itself, a setting for the control, or typical of listview controls in general? (I'm new to Xamarin and UITests).

Thanks,

Aracknid

How Can I access intranet website using webview.

$
0
0

I am trying to access my intranet website using Webview but it is not loading the URL and no error is showing. Any idea what is wrong with it.

Label header = new Label
{
Text = "WebView",
FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)),
HorizontalOptions = LayoutOptions.Center
};

        WebView webView = new WebView
        {
            Source = new UrlWebViewSource
            {
                Url = "https://xxxx.com/xx.app/account/login",

            },
            VerticalOptions = LayoutOptions.FillAndExpand
        };

        // Accomodate iPhone status bar.
        //this.Padding = new Thickness(10, Device.OnPlatform(20, 0, 0), 10, 5);

        // Build the page.
        this.Content = new StackLayout
        {
            Children =
            {
                header,
                webView
            }
        };

CodeSign error when an XF app run in iOS 12.x iPhone after running in iOS 13.1 Simulator

$
0
0

My setup is:
VS 2019 ver 16.3.4 on a Windows 10 PC
XCODE 11.1
Mac OS Catalina on a Mac mini

iOS 12.4.2 on iPhone 6

The work around currently are the following tricks, either individually or in a combination:
1. Clean the project and build it
2. Delete the obj and bin directories
3. Restart VS
4. Disconnect and reconnect iPhone 6 to Mac mini

Any solution to reduce the drudgery?

Parameter error

$
0
0

Hello,

i have an error .

What does this mean and what to do about it ?

how to handle exceptions when creating own plugin

$
0
0

when i see the source code of xamarin plugins, no one is catching exceptions in their plugin source code. they simply throw an exception so that whoever implements plugin, should catch in his source code. is that the best approach?
Mostly this causes apps to crash and unknown errors to be caught by plugin users. How to best handle those?
I am thinking that isnt it better to expose an interface. So users can use their own exception handling by DI? implement the interface and use your Appcenter, firebase etc. Why xamarin plugin creators dont do that?

Certain FontAwesome fonts not displaying

$
0
0

I installed the latest font-awesome fonts into my xamarin.forms shared project (targeting Android only). I followed the instructions here:

https://www.wintellect.com/using-fontawesome5-xamarin-forms/

However, I notice that not all the fonts will display on my forms. E.g. fa-eye will display correctly, but fa-vial displays nothing. E.g.

<Label Text="&#xf492;" TextColor="Black" FontSize="Large">
  <Label.FontFamily>
    <OnPlatform x:TypeArguments="x:String" Android="fa-regular-400.ttf#Font Awesome 5 Free Regular" />
  </Label.FontFamily>
</Label>

The above example should display the fa-vial font icon, but nothing is shown. If I change the Text to &#xf06e then the fa-eye font icon is correctly displayed.


WebView Cache

$
0
0

Is it possible to have some kind of Cache with WebView?

I need to the "back event" on a WebView don't fire the reload event to the whole page, but just show the page that was already loaded. Is this possible?

美国威斯康星大学文凭毕业.证/成绩单#薇信6956.40122办理美国WISC毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

$
0
0

美国威斯康星大学文凭毕业.证/成绩单#薇信6956.40122办理美国WISC毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

美国内布拉斯加大学文凭毕业.证/成绩单#薇信6956.40122办理美国UNL毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

$
0
0

美国内布拉斯加大学文凭毕业.证/成绩单#薇信6956.40122办理美国UNL毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

美国伦斯勒理工学院文凭毕业.证/成绩单#薇信6956.40122办理美国RPI毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

$
0
0

美国伦斯勒理工学院文凭毕业.证/成绩单#薇信6956.40122办理美国RPI毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

美国华盛顿大学文凭毕业.证/成绩单#薇信6956.40122办理美国UW毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

$
0
0

美国华盛顿大学文凭毕业.证/成绩单#薇信6956.40122办理美国UW毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

ListView VerticalScrollBarVisibility = "Always" not working.

$
0
0

I am using ListView to create a checkbox list and I want the scrollbar always visible so that the user can see there are more element below. Following is my XAML code:

However, the scrollbar is only visible when I start scrolling and disappear again if I didn't touch on the screen which is just like the default setting. I have upgrade the Xamarin.Forms to the latest version 4.2.0.848062, is there any other way to make the scrollbar always visible? Thanks in advance.

美国加州大学戴维斯分校文凭毕业.证/成绩单#薇信6956.40122办理美国UCD毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

$
0
0

美国加州大学戴维斯分校文凭毕业.证/成绩单#薇信6956.40122办理美国UCD毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证


美国加州大学欧文分校文凭毕业.证/成绩单#薇信6956.40122办理美国UCI毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

$
0
0

美国加州大学欧文分校文凭毕业.证/成绩单#薇信6956.40122办理美国UCI毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

美国加州大学戴维斯分校文凭毕业.证/成绩单#薇信6956.40122办理美国UCD毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

$
0
0

美国加州大学戴维斯分校文凭毕业.证/成绩单#薇信6956.40122办理美国UCD毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证

怎么买麦考瑞大学毕业证书「695640122微q麦考瑞大学毕业证制作【买MQU毕业证#MQU成绩单#MQU认证#】麦考瑞大学文凭证书办理

$
0
0

怎么买麦考瑞大学毕业证书「695640122微q麦考瑞大学毕业证制作【买MQU毕业证#MQU成绩单#MQU认证#】麦考瑞大学文凭证书办理

怎么买莫纳什大学毕业证书「695640122微q莫纳什大学毕业证制作【买Monash毕业证#Monash成绩单#Monash认证#】莫纳什大学文凭证书办理

$
0
0

怎么买莫纳什大学毕业证书「695640122微q莫纳什大学毕业证制作【买Monash毕业证#Monash成绩单#Monash认证#】莫纳什大学文凭证书办理

怎么买皇家墨尔本理工大学毕业证书「695640122微q皇家墨尔本理工大学毕业证制作【买RMIT毕业证#RMIT成绩单#RMIT认证#】皇家墨尔本理工大学文凭证书办理

$
0
0

怎么买皇家墨尔本理工大学毕业证书「695640122微q皇家墨尔本理工大学毕业证制作【买RMIT毕业证#RMIT成绩单#RMIT认证#】皇家墨尔本理工大学文凭证书办理

Viewing all 81910 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>