Summary
In this chapter, we built a gallery application on both iOS and Android using native development with Xamarin. We learnt how to setup projects in Xamarin Studio and code using the native frameworks in C#. In the next chapter, we will build a text to speech service using Xamarin.Forms
.
Try improving on this code and make this function asynchronous; the more background processing we have at this stage, the better. These are the small improvements we should take time with, as combining all these small additions can create a real difference to the speed of your application.
As this is only a demo, we are only going to take the first 100 items. If you would like another challenge, remove Take(100)
, and see if you can adjust the code to load thousands of images more efficiently.