Coder Social home page Coder Social logo

xamarin-webview-with-custom-headers's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

xamarin-webview-with-custom-headers's Issues

Invoke CustomWebViewRenderer after setting my WebView Source

Hi @albertoms
Thanks a lot for sharing the great code.
I'm new in xamarin.forms
Could you please help me? : ๐ŸŒน๐ŸŒน
When my xaml page loaded, customwebview source is null. I set that when a button have been clicked, my url would be assign to my customwebview' source. I checked and found that CustomWebViewRenderer class invoke for the first time (when my source is null).
How can I set header when URL would be assign for my customwebview; source ?

I don't know I could explain exact mean my issue to you? ๐Ÿ™ˆ๐Ÿ™๐Ÿป

Best regards

Question: Passing Header Values from Shared PCL

Hey there, this works like a charm for what you documented that it should do. One question, though... how can I pass header values from the shared project to these custom renderers in the iOS and Android projects?

How to implement an ActivityIndicator to this setup

Thank you so much for sharing your code, it works like a charm!

Quick question though - how would you implement an AcitivtyIndicator to this setup? Would you include it in the custom renderer or keep it within the View?

Cannot invoke method with stack pointers via reflection

Hi @albertoms
I tried to move this code.
Could you please help me?

When I download and start debug this android project,
this project is stopped at

\xamarin-webview-with-custom-headers-master\Droid\obj\Debug\71\WebViewRenderer.Droid.App.xaml.g.cs

line 20
global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(App));

The error message is
"$exception {System.NotSupportedException: Cannot invoke method with stack pointers via reflection"

I'm using Visual Studio 2019 Enterprise Version 16.4.0
android virtual machine pixel_2_pie_9_0_-_api_28

How can I move this project and set header ?

Best regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.