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

Is there any way to implement Stripe card widget in the Xamarin.Forms?


Create simple chat forum

$
0
0
Hi
I am relatively new to Xamarin.Forms
I would like to know how to go about creating a simple Chat forum/Discussion, amongst consultants. I've looked and only seem to come across broadcast messages.

HotReload LiveReload LiveXaml [Mac] [Windows] [nuget package] [opensource]

Guidance on Best SkiaSharp Performance

$
0
0

@mattleibow We are creating a graphic-intensive Xamarin.Forms app that uses Skiasharp to create high resolution images for printing. We use low-level drawing, SVG, local and remote images, text with custom fonts, etc. to compose our final output. All of the work is done in the .Netstandard shared project.

Can you direct us to examples, articles, documentation, anything that can give us guidance for how to do this in the most performant way? Here are a few questions.

  1. Presently we have a class that does all the drawing and returns an SKBitmap as the result. While we can use the class and do the work on a background thread, the SKBitmap cannot be used by the UI thread. Can you point to an example of how to properly (i.e. the correct SkiaSharp syntax and functions) marshal the image from the background thread to an SKBitmap on the UI thread?
  2. Related to that, we stopped using the SKCanvasView for two reasons. First, it does not resize nicely within Xamarin.Forms containers, so creating an image with SkiaSharp and then displaying it in a Xamarin.Forms Image object is best because it automatically resizes, playing nicely with Xamarin.Forms containers. Second, our graphics are apparently complex enough, or we are drawing them wrongly, so drawing them in response to the PaintSurface event on the UI thread caused the app to freeze. We can't even display a simple wait animation. That's why we're trying to do all drawing on a background thread.
  3. Would we benefit from using a GRContext and doing all this drawing on the GPU? Does that free the UI thread so it can display a wait animation? I am new to this realm and can find no example code showing how to create and use a GRContext in the .Netstandard shared project. The SkiaSharpFormsDemo does not do anything with the GPU as far as I can tell.
  4. I have studied the SkiaSharpFormsDemo, and have read through dozens of forum posts and most of the issues on the SkiaSharp GitHub project, trying to glean some tips. You mention often that it is important to reuse SKPaint objects, SKTypeFace objects, etc. Would you recommend making them static members of our drawing class and just changing the values every time they are used? The SkiaSharpFormsDemo seems to create SKPaint objects as needed, or within a using block, but I can't find an example of how to properly reuse them.

Thank you so much for your help and all your hard work!

Swagger integration with xamarin forms

$
0
0

Hello there,

I need to use swagger api codes just like drag and drop in xamarin forms project but every time I use the code generated by swagger I have to do few changes regarding restsharp and stream's writer property not found in restsharp.portable nuget package.

Please help me with the best possible solutions to fix this.

Thanks in Advance.

Images from url not showing on android

$
0
0

Hey,

I am trying to show some images from my wordpress site in my app. Its working great on iOS but not working on android.
Images I am getting from one wordpress site and I cannot figure it out why its not working on android.

Code I am using to get and show images is from xamarin.com site:

var webImage = new Image { Source = ImageSource.FromUri(new Uri("https ://xamarin.com/content/images/pages/forms/example-appDOTpng")) };

If I use this link then picture shows on both platforms but if I use

var webImage = new Image { Source = ImageSource.FromUri(new Uri("https ://www.sportino-ma.com/wp-content/uploads/2015/11/19884496_436596000030267_1630323802236795993_n-e1499849630652-150x150DOTjpg")) };

it would not work. I have searched the web for solutions but without any success.

I hope that someone can help me.. Thanx..

P.S. - I'm trying to set image source with XAML too but with same result. (using binding imgUrl as source). Space in my links are because I cannot post links here

App displays URL images from other URLs than my own

$
0
0

I am unable to make the URL public, but I've pasted the full URL into my browser and can confirm the page is right - the image shows in the browser.

But... when I copy that exact URL into a Xamarin.Forms image, set as:

<Image 
    HorizontalOptions="FillAndExpand"
    VerticalOptions="FillAndExpand"
    Aspect="AspectFit">
    <Image.Source>
        <UriImageSource Uri="https://mydomain.com/images/doesntshow.jpg" 
            CacheValidity="3" 
            CachingEnabled="false"/>
    </Image.Source>
</Image>

The image simply will not show.

If I substitute the URL: "https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg" the image shows fine.

NOTE: There is 0 possibility the URL is incorrect or has an error because... I'm not typing it; I'm copying/pasting it and it's showing just fine in the browser, just not the Xamarin.Forms app.

I've not a clue as to what to look for. Does anyone else?

Change google map info window text when it is appearing

$
0
0

my current situation that i want when user click on marker i send a request to get clicked position address and show it in the info window it working for IOS but android has problems


Sample ToDo - Downloaded - How do I execute

$
0
0

I have downloaded the sample ToDo List. There are many members in the folder. What member do I click to execute the sample?

[UWP] Changing image on button causes flicker

$
0
0

I typically change images on a button from one image to another, like enabled image to disabled greyscale image. Both of these images are the same size. When the image changes on Android/iOS, no problem. But when the image changes on UWP, it looks like the entire widget hierarchy is recalculated and redrawn causing a horrible flicker. I can understand this if the images were different sizes, but they aren't. Anybody experience this issue on UWP and have a good workaround?

纽约州立宾汉姆顿大学文凭〈SUNY毕业证成绩单〉Q微信9105133留信认证/买美国纽约州立宾汉姆顿大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)The State Univer

$
0
0

A纽约州立宾汉姆顿大学文凭〈SUNY毕业证成绩单〉Q微信9105133留信认证/买美国纽约州立宾汉姆顿大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)The State University of New York at Binghamton

明尼苏达大学双城分校文凭〈UMN毕业证成绩单〉Q微信9105133留信认证/买美国明尼苏达大学双城分校(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of Min

$
0
0

明尼苏达大学双城分校文凭〈UMN毕业证成绩单〉Q微信9105133留信认证/买美国明尼苏达大学双城分校(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of Minnesota, Twin Cities

凯斯西储大学文凭〈CWRU毕业证成绩单〉Q微信9105133留信认证/买美国凯斯西储大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Case Western Reserve Uni

$
0
0

凯斯西储大学文凭〈CWRU毕业证成绩单〉Q微信9105133留信认证/买美国凯斯西储大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Case Western Reserve University

威斯康星大学麦迪逊分校文凭〈UW毕业证成绩单〉Q微信9105133留信认证/买美国威斯康星大学麦迪逊分校(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of Wi

$
0
0

威斯康星大学麦迪逊分校文凭〈UW毕业证成绩单〉Q微信9105133留信认证/买美国威斯康星大学麦迪逊分校(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of Wisconsin-Madison

弗吉尼亚大学文凭〈UVa毕业证成绩单〉Q微信9105133留信认证/买美国弗吉尼亚大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of Virginia

$
0
0

弗吉尼亚大学文凭〈UVa毕业证成绩单〉Q微信9105133留信认证/买美国弗吉尼亚大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of Virginia


佛罗里达大学文凭〈UF毕业证成绩单〉Q微信9105133留信认证/买美国佛罗里达大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of Florida

$
0
0

佛罗里达大学文凭〈UF毕业证成绩单〉Q微信9105133留信认证/买美国佛罗里达大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of Florida

约翰•霍普金斯大学文凭〈JHU毕业证成绩单〉Q微信9105133留信认证/买美国约翰•霍普金斯大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)The Johns Hopkins U

$
0
0

约翰•霍普金斯大学文凭〈JHU毕业证成绩单〉Q微信9105133留信认证/买美国约翰•霍普金斯大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)The Johns Hopkins University

康奈尔大学文凭〈Cornell毕业证成绩单〉Q微信9105133留信认证/买美国康奈尔大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Cornell University

$
0
0

康奈尔大学文凭〈Cornell毕业证成绩单〉Q微信9105133留信认证/买美国康奈尔大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Cornell University

伊利诺理工大学文凭〈IIT毕业证成绩单〉Q微信9105133留信认证/买美国伊利诺理工大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Illinois Institute of T

$
0
0

伊利诺理工大学文凭〈IIT毕业证成绩单〉Q微信9105133留信认证/买美国伊利诺理工大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Illinois Institute of Technology

波士顿学院文凭〈BC毕业证成绩单〉Q微信9105133留信认证/买美国波士顿学院(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Boston College

$
0
0

波士顿学院文凭〈BC毕业证成绩单〉Q微信9105133留信认证/买美国波士顿学院(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Boston College

Viewing all 91519 articles
Browse latest View live


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