H
英国伯恩茅斯大学文凭毕业证成绩单Q/微信9105133英国 BU毕业证成绩单学位证书文凭学历认证/留信网认证/使馆认证公正Bournemouth University
英国知山大学文凭毕业证成绩单Q/微信9105133英国 知山大学文凭毕业证成绩单学位证书文凭学历认证/留信网认证/使馆认证公正Edge Hill University
Q
英国巴斯斯巴大学文凭毕业证成绩单Q/微信9105133英国巴斯泉毕业证成绩单学位证书文凭学历认证/留信网认证/使馆认证公正Bath Spa University
w
英国爱丁堡玛格丽特皇后学院毕业证成绩单Q/微信9105133英国爱丁堡玛格丽特皇后学院毕业证成绩单学位证书文凭学历认证/留信网认证/使馆认证公正Queen Margaret Edinburgh
k
英国西伦敦大学文凭毕业证成绩单Q微信9105133英国毕业证成绩单*学位证书文凭学历认证/留信网认证/使馆认证公正 University of West London
英国西伦敦大学文凭毕业证成绩单Q微信9105133英国毕业证成绩单*学位证书文凭学历认证/留信网认证/使馆认证公正 University of West London
英国埃塞克斯大学文凭毕业证成绩单Q微信9105133英国爱希毕业证成绩单*学位证书文凭学历认证/留信网认证/使馆认证公正University of Essex
英国埃塞克斯大学文凭毕业证成绩单Q微信9105133英国爱希毕业证成绩单*学位证书文凭学历认证/留信网认证/使馆认证公正University of Essex
aws cognito refresh token on remebered device
@CShipley I am trying to use the RefreshToken call in your library but get the following exception and error:
NotAuthorizedException - Invalid Refresh Token
After a bit of playing around and reading, it has to do with my userpool setting, I have remember devices turned on (which I want), which means that I get tokens for a device that expires. I think what has to happen is that I'm supposed to send the device information with the StartWithRefreshTokenAuthAsync call somehow. Have you play with this at all? Is there something basic I'm missing here?
My thoughts are that on start up, I'll check if the tokens are about to expires, say in the next 24hrs, and refresh then. Is that a valid workflow?
OnPlatform Effect syntax
Quick question: what's the correct syntax for having an OnPlatform effect? As in, wanting the effect attached only on iOS.
What TypeArgument should be used? Tried a few things without much luck. For instance:
<Label.Effects>
<OnPlatform x:TypeArguments="x:String">
<On Platform="iOS" Value="effects:LabelTextToFit"/>
</OnPlatform>
</Label.Effects>
Trust anchor for certification path not found
I'm using a self signed cert on my development machine. I just need a simple way to trust the self signed cert during development. From what I gather you cannot just install the cert on the android device but you need to handle it in code but I am unsure how to do that using xamarin forms and using HttpClient. Using ServerCertificateValidationCallback does not work.
Any suggestions?
How can i select multiple items in a listview?
Hi
How can i select multiple items in the list and show the selected count on the screen?
Thanks
ListView is not working properly when used inside a TabbedPage
Hi,
I have created an application with Xamarin.Forms for Android devices. This application contains a TabbedPage that is composed of four different tabs. Each tab is a content page that is composed of a ListView control and it is bound to a separate ViewModel. The first time, the page is displayed, everything seems to work properly (the user is allowed to select any list item on any tab). When the user tries to go back to a previous selected tab, then the listview on the selected tab is frozen unexpectedly! Is there any workaround for this bug? In addition to that, I am using the latest version of Xamarin.Forms.
Thanks
System.ArgumentException crash in custom UWP FrameRenderer
Hi,
I'm using a custom FrameRenderer in my UWP project to style frames (corner radius and color). When I scroll a bit back and forth, the app crashes with a System.ArgumentException: Value does not fall within the expected range. It's the call to base.OnElementChanged(e);
that causes it.
I can of course put that in a try/catch, but then some items in my list will disappear. They return on orientation change of the device, but not after a normal refresh of the FlowListView I'm using.
Any ideas? I'm on Xamarin Forms 2.5.1.444934.
Here's the custom FrameRenderer:
class ExtendedFrameRenderer : FrameRenderer
{
protected override void OnElementChanged(ElementChangedEventArgs<Frame> e)
{
base.OnElementChanged(e);
if (Control != null)
{
var frame = e.NewElement;
double cornerRadius = frame.CornerRadius;
Windows.UI.Color frameBG = Windows.UI.Color.FromArgb(
(byte)(frame.BackgroundColor.A * 255),
(byte)(frame.BackgroundColor.R * 255),
(byte)(frame.BackgroundColor.G * 255),
(byte)(frame.BackgroundColor.B * 255));
Control.CornerRadius = new Windows.UI.Xaml.CornerRadius(cornerRadius);
Control.Background = new SolidColorBrush(frameBG);
frame.BackgroundColor = Xamarin.Forms.Color.Transparent;
}
}
}
Full error stack:
System.ArgumentException
HResult=0x80070057
Message=Value does not fall within the expected range.
Source=Windows
StackTrace:
at Windows.UI.Xaml.Controls.Border.put_Child(UIElement value)
at Xamarin.Forms.Platform.UWP.FrameRenderer.PackChild()
at Xamarin.Forms.Platform.UWP.FrameRenderer.OnElementChanged(ElementChangedEventArgs`1 e)
at MyApp.UWP.Helpers.ExtendedFrameRenderer.OnElementChanged(ElementChangedEventArgs`1 e) in C:\Users\me\Source\Workspaces\MySol\MyApp\MyApp.UWP\Helpers\ExtendedFrameRenderer.cs:line 26
at Xamarin.Forms.Platform.UWP.VisualElementRenderer`2.SetElement(VisualElement element)
at Xamarin.Forms.Platform.UWP.Platform.CreateRenderer(VisualElement element)
at Xamarin.Forms.Platform.UWP.VisualElementPackager.OnChildAdded(Object sender, ElementEventArgs e)
at Xamarin.Forms.Platform.UWP.VisualElementPackager.Load()
at Xamarin.Forms.Platform.UWP.VisualElementRenderer`2.SetElement(VisualElement element)
at Xamarin.Forms.Platform.UWP.Platform.CreateRenderer(VisualElement element)
at Xamarin.Forms.Platform.UWP.VisualElementPackager.OnChildAdded(Object sender, ElementEventArgs e)
at Xamarin.Forms.Platform.UWP.VisualElementPackager.Load()
at Xamarin.Forms.Platform.UWP.VisualElementRenderer`2.SetElement(VisualElement element)
at Xamarin.Forms.Platform.UWP.Platform.CreateRenderer(VisualElement element)
at Xamarin.Forms.Platform.UWP.ViewToRendererConverter.WrapperControl..ctor(View view)
at Xamarin.Forms.Platform.UWP.ViewToRendererConverter.Convert(Object value, Type targetType, Object parameter, String language)
Webview open external browser
Hello all,
i'm using xamarin.forms webview to open a html page. So far so good.
Inside my html has "a href" linking to another URL and when clicked, its open inside the webview. I wanna open outside the webveiw, using the external browser (device broser). Any ideia?
Thanks a lot
WebView does not work properly on Mac
Hello Friends
I have a strange issue with WebView on Mac OS.
I created a simple project with only one page with WebView control on it (and some labels and buttons).
the WebView works as expected on iOS and Android (everything is like in any browser) but on Mac it shows a web pages but the links on those pages are not clickable and changing the WebViews's Source property does absolutely nothing. Also when the WebView loads a page the Navigating event is fired (as expected) but the Navigated event is not. Also the WebView does not want to load https Google com (can't post the link) but it loads some other web sites successfully.
Pls suggest me what can be wrong? Or how to diagnose the problem?
Sources:
MainPage.xaml
<?xml version="1.0" encoding="utf-8"?> <ContentPage xmlns="..." xmlns:x="..." xmlns:local="clr-namespace:FaaPromo" x:Class="FaaPromo.MainPage"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="auto" /> <RowDefinition Height="*" /> <RowDefinition Height="auto" /> </Grid.RowDefinitions> <StackLayout Orientation="Horizontal" Grid.Row="0"> <Entry x:Name="Url" Placeholder="URL" HorizontalOptions="FillAndExpand" /> <Button x:Name="Go" Text="Go"></Button> </StackLayout> <WebView x:Name="Browser" Grid.Row="1" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" WidthRequest="1000" HeightRequest="1000"> </WebView> <StackLayout Orientation="Horizontal" Grid.Row="2"> <Label x:Name="Status" Text="Awaiting..." /> </StackLayout> </Grid> </ContentPage>
MainPage.xaml.cs
public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); Browser.Navigating += Browser_Navigating; Browser.Navigated += Browser_Navigated; Browser.Source = "... url here ..."; Go.Clicked += Go_Clicked; } void Go_Clicked(object sender, System.EventArgs e) { Browser.Source = Url.Text; } void Browser_Navigating(object sender, WebNavigatingEventArgs e) { Status.Text = "Loading..."; } void Browser_Navigated(object sender, WebNavigatedEventArgs e) { Status.Text = "Loaded."; } }
Assemblies
Xamarin.Forms version 3.3.0.967583 (from nuget)
Xamarin.Mac version 5.0.0.0
VS2017 15.9 & XF 3.4 - can't build the project
Hi,
I am trying to build a XF project but getting the following weird error:
3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2129,5): error MSB4018: The "LinkAssemblies" task failed unexpectedly.
3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2129,5): error MSB4018: Mono.Linker.MarkException: Error processing method: 'System.Void WiFiManager.MainPage::InitializeComponent()' in assembly: 'WiFiManager.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void Xamarin.Forms.Xaml.Internals.SimpleValueTargetProvider::.ctor(System.Object[],System.Object,Xamarin.Forms.Internals.INameScope)
The full list is available here:
https://pastebin.com/k4hTDVTQ
What am I doing wrong?
Better way to select multiple photos from gallery in Android and iOS
Hi, i'm trying to find a solution to select multiples photos in Xamarin in both platforms, can be two separated nugets or something like that.
I tried GmImagePicker, but it simply don't open the images selector view controller, i followed the GitHub tutorial.
Something i can use? Thanks.
Using xamarin language to test software element on appcenter
Currently I am using xamarin to test a software running on HTC Android Phone 6.0.1. As for the numberpicker input, I have a problem, that is not working on the Set button to save the month. The ways I used to affect the set button:
app.tap̣ (x => x.Id ("button1"));
With button1 is the id of the Set nut
app.tap (x => x.Text ("Set"));
Set is the value of the button's text property
app.TapCoordinates (230,400)
with 230 and 400 are the x and y values of the Set button
but all do not working
What should I do next? Thank you all for your comments
Icons have poor clarity in Xamarin forms UWP project
I am using 24x24 pixels icons in my xamarin forms UWP project, but not getting good clarity when it comes in UI. For Android, I am using 4 set of icons for different devices and 3 set for IOS. How many sets of icons are needed for UWP and what is the resolution for those icons?
Cannot call Other Layout from Another Layout by Button Click
Sir,
I am very new in xamarin. I have three layout. 1) main.axml, 2) layLogIn.axml, 3) layRegistration.axml and have three Activity file 1) mailActivity.cs 2) layLogInActivity.cs and 3) ActivityRegistration.cs
When App start main.axml Layout start first, then from main layout I call layLogIn layout by button click. Then, when I try to call layRegistration layout from layLogIn by Button click, it not working.
Codes:
mailActivity.cs
namespace BCCSJr
{
[Activity(Label = "BCCS Junior", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
//public static void SetHasBackButton();
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
// Set our view from the "main" layout resource
SetContentView (Resource.Layout.Main);
Button btnLogIn = FindViewById<Button>(Resource.Id.btnLogIn);
btnLogIn.Click += btnLogIn_Click;
Button btnRegistration = FindViewById<Button>(Resource.Id.btnRegistration);
btnRegistration.Click += btnRegistration_Click;
}
private void btnLogIn_Click(object sender, EventArgs e)
{
SetContentView(Resource.Layout.layLogIn);
}
private void btnRegistration_Click(object sender, EventArgs e)
{
SetContentView(Resource.Layout.layRegistration);
}
}
}
Codes for layLogInActivity.cs
namespace BCCSJr
{
[Activity(Label = "layLogIn", MainLauncher = false, Icon = "@drawable/icon")]
public class layLogInActivity : Activity
{
protected override void OnCreate(Bundle OnSaveInstanceState)
{
base.OnCreate(OnSaveInstanceState);
SetContentView(Resource.Layout.layLogIn);
Button btnLogInActivity = FindViewById<Button>(Resource.Id.btnLogInActivity);
//btnLogInActivity.Click += btnLogInActivity_Click;
//try to call layRegistration.axml layout
btnLogInActivity.Click += delegate
{
//txtLogError.Text = "You are in Log In page";
SetContentView(Resource.Layout.layRegistration);
};
// Create your application here
}
private void btnLogInActivity_Click(object sender, EventArgs e)
{
SetContentView(Resource.Layout.layRegistration);
}
}
}
Image Performance in Xamarin forms
Hi Everyone. I'm working with an Application which deals with a lot of Images from Server. Sometimes (I thought due to less memory but it's the same in all devices) the images are not showing and getting disappear from the view. I can't understand why it's happening. I have gone through Glidex but unable to install it due to Package conflictions. If anyone knows how to increase the performance of the app which deals with images, please help me.
Any help is appreciated.