Pages

Thursday 15 February 2018

How to Disable / Enable the device sleep mode programmatically in Xamarin.iOS?

Introduction:
When most apps have no touches as user input for a short period, the system puts the device into a "sleep” state where the screen dims. This is done for the purposes of conserving power. But in some time we may need to disable device sleep mode, this article can explain you about to disable/enable device sleep mode in iOS.

Sunday 11 February 2018

How to use ConstraintLayout in Xamarin.Android

Introduction:
ConstraintLayout is to help reduce the number of nested views, which will improve the performance of our layout files. The layout class also makes it easier for us to define layouts than when using a RelativeLayout as we can now anchor any side of a view with any side of another, rather than having to place a whole view to any side of another.