|
BLOG ARTICLES(部落格文章)
Using DialogFragments
In this post, I‘ll show how to use DialogFragments with the v4 support library (for backward compatibility on pre-Honeycomb devices) to show a simple edit dialog and return a result to the calling Activity using an interface.
使用DialogFragments
在這篇文章中,我將展示如何通過Support V4庫(為了向後相容Honeycomb之前的版本)使用DialogFragments,以顯示一個簡單的編輯對話方塊,並使用介面的結果返回到調用活動。
Fragments For All
Today we‘ve released a static library that exposes the same Fragments API (as well as the new LoaderManager and a few other classes) so that applications compatible with Android 1.6 or later can use fragments to create tablet-compatible user interfaces.
用於所有版本的Fragment
如今我們已經發布了一個靜態庫公開相同的Fragment API(以及新的LoaderManager和其他的類),以便於Android 1.6或者更高的版本可以使用Fragment來建立相容平板的使用者介面。
Multithreading for Performance
A good practice in creating responsive applications is to make sure your main UI thread does the minimum amount of work. Any potentially long task that may hang your application should be handled in a different thread.
多線程效能
在建立響應的應用一個好的做法是確保你的主UI線程幹盡量少的事情。應該讓比較耗時的操作都在其他線程完成。
? |
TRAINING(實驗)
Managing the Activity Lifecycle
This class explains important lifecycle callback methods that each Activity instance receives and how you can use them so your activity does what the user expects and does not consume system resources when your activity doesn‘t need them.
管理Activity的生命週期
這個課程中,每個Activity執行個體接收重要的生命週期回調方法,以及如何使用它們讓你的活動完成使用者期望的結果,並且當你的活動並不需要他們的時候,釋放系統資源。
Building a Dynamic UI with Fragments
This class shows you how to create a dynamic user experience with fragments and optimize your app‘s user experience for devices with different screen sizes, all while continuing to support devices running versions as old as Android 1.6.
使用Fragment構建動態UI
這個課程向你展示了如何使用Fragment建立一個動態使用者介面,並且針對不同的裝置螢幕尺寸最佳化了你的應用的使用者體驗,並且支援所有裝置啟動並執行版本,甚至更古老的Android 1.6。
Sharing Content
This class covers some common ways you can send and receive content between applications using Intent APIs and the ActionProvider object.
分享內容
這個課程涵蓋了你在兩個應用程式中使用Intent APIs和ActionProvider對象發送或者接收內容所有方法。 |