Summary

In this chapter, you created a simple application that communicates with the Twitter API over the Internet to download a list of tweets for a given user. All code involved with accessing the network and API was entirely contained to the shared library, and worked seamlessly across all platforms. Each application implemented a native user interface on top of that shared layer. While the implementations were similar across all of them, there is nothing preventing you from creating entirely different interfaces and user experiences for each of them. The observer pattern introduced in the last chapter was also leveraged to allow the shared layer to publish notifications to the application that a mention was received. In the next chapter, we will explore some options for persisting data in your applications, making use of both the filesystem and local databases.

Get Mobile Development with C# 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.