Custom Circular ImageView for Xamarin Android

Circular Image, because you can! We had a requirement where we needed to make image look circular. Yes, just like those “modern design web and mobile apps”. Android does not provide component for circular images out of the box. We had to extend ImageView widget and do some calculations to make it circular. Here’s the code –   View the code on Gist. How to use – Add RoundeImageView.cs class…

Xamarin and Azure Mobile Service, right way to Log Out.

It’s been more than 4 months since I started working on Xamarin (Android, iOS and Forms). Earlier, I had an opportunity integrating Azure Mobile Services in Xamarin application. We had a requirement where user needed to log out and forced to log in again (weird it was but can’t help). We tried using out of the box method that Azure Mobile Services provide View the code on Gist. And redirect user…

Git Packfile is truncated, quick fix

I was working on Xamarin iOS project on my Mac machine where I had to pull a commit with large files (high resolution images). Surprisingly, it took longer than ever and failed after a while with error message : packfile is truncated I could not figure out why is pull not working with Xamarin Studio. Later I figured out the simple, silly solution for the same. Just close the file…

Revisiting KnockoutJS – v3.2 cherry-picks

In case you missed it It’s been awhile since KnockoutJS released it’s latest stable iteration 3.2. It was a real slow paced development however it introduce some of the most wanted features KnockoutJS was missing since the beginning. KnockoutJS community didn’t make any fuss over it’s release. Hence, ICYMI article. Feature-centric release 3.2 is purely feature-centric along with some minor bug fixes and patches. Find detailed change log on github.   What’s new?…

Communication between multiple View Models in KnockoutJS (MVVM), the right approach!

Big fat View Model KnockoutJS is a beautiful JavaScript framework that helps you to create responsive and data rich user interface without making the JavaScript code dirty. When you start learning KnockoutJS, you tend to make habit of creating single a View Model and binding it globally or to one particular DOM and play with it. Once you start diving deep, you will realize, single view model is not enough…