- 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.
- Offer來了:Java面試核心知識(shí)點(diǎn)精講(原理篇)
- Mastering Unity Shaders and Effects
- R的極客理想:工具篇
- 零基礎(chǔ)學(xué)單片機(jī)C語言程序設(shè)計(jì)
- Python之光:Python編程入門與實(shí)戰(zhàn)
- Extreme C
- 零基礎(chǔ)學(xué)Python編程(少兒趣味版)
- Delphi開發(fā)典型模塊大全(修訂版)
- 玩轉(zhuǎn).NET Micro Framework移植:基于STM32F10x處理器
- C語言程序設(shè)計(jì)實(shí)踐
- Mobile Forensics:Advanced Investigative Strategies
- Oracle Database XE 11gR2 Jump Start Guide
- 分布式數(shù)據(jù)庫HBase案例教程
- Responsive Web Design with jQuery
- HTML并不簡單:Web前端開發(fā)精進(jìn)秘籍