- 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.
- 深入理解Bootstrap
- Angular UI Development with PrimeNG
- PyTorch Artificial Intelligence Fundamentals
- 數據結構(Python語言描述)(第2版)
- Android 7編程入門經典:使用Android Studio 2(第4版)
- Functional Programming in JavaScript
- Hands-On Microservices with Kotlin
- ANSYS Fluent 二次開發指南
- 運維前線:一線運維專家的運維方法、技巧與實踐
- C++程序設計教程
- JavaScript從入門到精通(視頻實戰版)
- Android編程權威指南(第4版)
- Learning TypeScript
- 深入大型數據集:并行與分布化Python代碼
- 美麗洞察力:從化妝品行業看顧客需求洞察