Adam Pedley

About Adam Pedley

Microsoft MVP | Xamarin MVP | Xamarin Certified Developer | Exrin MVVM Framework | Xamarin Forms Developer | Melbourne, Australia

Using Xamarin Inspector With Your Live Apps

The Xamarin Inspector, is its own product, that can inspect your Xamarin apps, while they are running. I have mentioned Xamarin Workbooks before, and you will have seen a live inspector, that ran your pieces of code. This is the same inspector, just separated to connect to a live app, instead of through Workbooks. Setup You […]

Read More >

Tracking Memory Leaks In Xamarin With The Profiler

Memory leaks in a mobile application, is the result of objects being held in memory when they should be disposed of. This occurs when a reference to that object, still exists. While your application has a reference to that object, the GC (Garbage Collector), will not remove it from memory. This is great, but if your application […]

Read More >

Xamarin Forms Profiling

Profiling is about finding resource usage that is out of place. Resources can include, network traffic, CPU, GPU, storage and/or memory usage. Because every app can behave differently, there is no set profile on how resource usage should look for your app, only guidelines. This means a profiler doesn’t give you any guidance, or show […]

Read More >

WebView Rendering Engine Configuration

The WebView isn’t very configurable at the Xamarin Forms level, however each platform provides a large array of configuration settings for their native control. These settings are very different per platform, which makes it understandable, why they wouldn’t be configurable in a cross platform framework. An important thing to note, is the rendering enginer the […]

Read More >

Cookie Sharing with WebView and the Http Client

Despite their age, cookies remain just as relevant in today’s web as they were when originally introduced. The WebView will handle cookies similar to a regular browser. When making web calls via the native http client, this service also reads and stores cookies as you load webpages that contain them. Thankfully, UWP and iOS share […]

Read More >

Xamarin Forms Debugging The WebView In Chrome

A lesser known feature of debugging on Android, is that you can debug a WebView inside an Android app, in real time. This can be done on your desktop, via Chrome. It allows you to modify HTML and execute Javascript in real time, in the WebView on Android. WebView First, we can start out with […]

Read More >

Introduction To Exrin (Video)

Exrin is an MVVM framework that sits on top of Xamarin Forms and provides structure and helper code for your application, all while enforcing certain architecture patterns. I also say it is an application library because it contains a little bit more than just MVVM. Exrin is very opinionated, and it strongly encourages a certain […]

Read More >

Xamarin Forms WebView Executing Javascript

The existing WebView control has the function to run Javascript on the loaded page, however it doesn’t have the ability to return the value. This post will walk through how to add that functionality in a bindable property. Extend Control Extending from the base WebView, we add a Function called EvaluateJavascript, that takes a string, […]

Read More >

Xamarin Forms WebView Bindable Actions

The WebView has a number of functions and properties that are only available by directly accessing the control.  To maintain a clean code behind and call functions from the ViewModel, we need to create a new custom control that provides new bindable properties. Extended Control First, lets create a new custom control that inherits from […]

Read More >

Xamarin Forms WebView Advanced Series

The Xamarin Forms WebView control is an abstraction of the platform specific Android WebView, iOS UIWebView and UWP WebBrowser controls. It allows you to view HTML and run Javascript from a local or remote source. While the WebView seems like an odd control to have in a mobile app, it continues to serve a variety […]

Read More >