Creating and implementing the TwitterWebService class

In this section, we will create the TwitterWebService class that will inherit from our ITwitterWebService interface and implement the underlying instance methods that we declared within our interface class. They will help us to communicate with our app that we created within the Twitter Developer Portal.

Let's start by creating the TwitterWebService class for our TrackMyWalks app by performing the following steps:

  1. Firstly, right-click on the Services folder and choose Add | New File... from the pop-up menu.
  2. Next, create a new Empty Class called TwitterWebService within the Services folder, as you did in the section entitled Creating and implementing the TwitterAuthDetails class, located ...

Get Mastering Xamarin UI Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.