- Mastering Cross:Platform Development with Xamarin
- Can Bilgin
- 179字
- 2021-07-09 20:05:19
Summary
In order to manage application resources, one must have a deeper understanding of the application lifecycle. Application lifecycle events, outlined in this chapter, are the main access points to underlying platform runtime on both iOS and Android. If used properly, the event delegates and event methods on both platforms can help developers save valuable resources and avoid memory problems.
Other concepts discussed were garbage collection, object references, and automatic reference counting. These concepts make up the foundation of memory management on target Xamarin platforms.
We also had a closer look at the diagnostic and profiling tools for target platforms and how they can be used effectively. While iOS and Android platforms each have a native app to analyze memory allocations, Xamarin Profiler provides a unified solution for both platforms.
Finally, useful patterns were outlined for different memory related issues and pitfalls. To analyze these patterns, Xamarin Profiler and Instruments were used for Android and iOS applications respectively.
In the next chapter, we will be looking at asynchronous implementation techniques and investigate various patterns of multi-threading and background execution.
- Getting Started with Gulp(Second Edition)
- 高手是如何做產(chǎn)品設(shè)計(jì)的(全2冊(cè))
- 案例式C語(yǔ)言程序設(shè)計(jì)
- Mastering Entity Framework
- Rake Task Management Essentials
- C#程序設(shè)計(jì)(慕課版)
- Implementing Cisco Networking Solutions
- ADI DSP應(yīng)用技術(shù)集錦
- Python數(shù)據(jù)分析從0到1
- 深入淺出Serverless:技術(shù)原理與應(yīng)用實(shí)踐
- Asynchronous Android Programming(Second Edition)
- 深入分布式緩存:從原理到實(shí)踐
- Python深度學(xué)習(xí)原理、算法與案例
- Python+Tableau數(shù)據(jù)可視化之美
- After Effects CC案例設(shè)計(jì)與經(jīng)典插件(視頻教學(xué)版)