Xamarin Cross-Platform Solution Creating the Views Directory (AdMobView-NotesPage)
In this post, we will take a look at the AdMobView.cs and NotesPage used in our WetYourWhistle mobile app. Why do we have a routine called AdMobView and why have you seen references to AdMob so far? Because everyone deserves to make a dollar or two from all of their programming efforts. AdMob is one of the ways to monetize your mobile app, creating income from ads placed in inconspicuous places. The code shown below is included in our AdMobView.cs class. What is it doing? I am glad that you were wondering that. This public class inherits main functionality from, or is built upon, the standard View class. As illustrated, it is only creating two properties - AdUnitIdProperty and AdUnitId which allow posting of ad revenue to our AdMob account.…
