Use the solutions provided in this book to handle common challenges in Xamarin.Forms that are encountered on a daily basis. Working examples and techniques are presented that you can modify and drop directly into your own projects. You will be able to deliver working code faster than ever. Examples are made available through GitHub, maximizing the convenience and value this book provides to Xamarin.Forms developers.
Solutions in the book are organized broadly into problem domains such as user interface for applications, data and security, connectivity and external services, and more. Within each domain the book presents specific solutions addressing challenges that are commonly faced. Under data and security, for example, you’ll find specific solutions around storing login credentials, local data caching, and sending authorization tokens in HTTP requests.
Not only do the solutions in the book solve specific problems, they also present best practices that can inform and improve the quality of the code that you write. Xamarin.Forms Solutions is chock full of practical advice and code examples that no Xamarin.Forms programmer will want to be without. The basics of Xamarin.Forms are provided for beginning developers.
What You'll Learn
- Know the in-depth basics of Xamarin.Forms and the inner workings
- Create custom renderers and dependency services
- Manage the appearance of user interfaces through styling and theming, layout options, rotation, and animation
- Build sophisticated user interfaces using a variety of controls that allow for PDF viewing, barcode interpretation, searching and finding, and other controls
- Secure your applications, and communicate securely with services via HTTP requests
- Sign and deploy your apps and optimize the binary file size
Who This Book Is For
Those building mobile applications on the Xamarin platform for iOS and Android. By mixing together the solutions and a thorough explanation of the basics of Xamarin.Forms, the book spans the needs of beginning through intermediate Xamarin.Forms developers. Even experts will find a few gems to improve the quality and speed of their application development work.
使用本書提供的解決方案來處理 Xamarin.Forms 中每天遇到的常見挑戰。書中提供了實用的範例和技巧,您可以修改並直接應用於自己的專案中。您將能夠比以往更快地交付可運行的程式碼。這本書通過 GitHub 提供了範例,最大限度地提供了便利和價值,對於 Xamarin.Forms 開發人員來說非常寶貴。
本書中的解決方案按照問題領域進行了廣泛的組織,例如應用程式的使用者界面、數據和安全性、連接性和外部服務等。在每個領域中,書中提供了解決常見挑戰的具體方案。例如,在數據和安全性方面,您將找到有關存儲登錄憑據、本地數據緩存以及在 HTTP 請求中發送授權令牌的具體解決方案。
本書中的解決方案不僅解決了具體問題,還提供了可以改進您編寫的程式碼質量的最佳實踐。《Xamarin.Forms Solutions》充滿了實用的建議和程式碼範例,任何 Xamarin.Forms 程式設計師都不會想錯過。書中還提供了初學者所需的 Xamarin.Forms 基礎知識。
您將學到什麼:
- 瞭解 Xamarin.Forms 的基礎知識和內部運作原理
- 創建自定義渲染器和依賴服務
- 通過樣式和主題、佈局選項、旋轉和動畫來管理用戶界面的外觀
- 使用各種控件建立複雜的用戶界面,包括 PDF 查看、條碼解讀、搜索和查找等控件
- 保護您的應用程式,並通過 HTTP 請求安全地與服務進行通信
- 簽署和部署您的應用程式,並優化二進制文件大小
本書適合對於 iOS 和 Android 上的 Xamarin 平台構建移動應用程式的人。通過結合解決方案和對 Xamarin.Forms 基礎知識的詳細解釋,本書涵蓋了初學者到中級 Xamarin.Forms 開發人員的需求。即使對於專家來說,也能找到一些寶藏,以提高應用程式開發工作的質量和速度。