Our website uses necessary cookies to enable basic functions and optional cookies to help us to enhance your user experience. Learn more about our cookie policy by clicking "Learn More".
Accept All Only Necessary Cookies
Data Binding with Kotlin Example 圖標

1.0 by Ash Davies


2018年06月10日

關於Data Binding with Kotlin Example

中文(繁體)

Droidcon柏林2018:借力Android的數據與科特林綁定

Android Data Binding is considered as both a powerful toolchain, empowering your views with access to view data without the necessity to build cumbersome presenters, and conversely as an overly complex, convoluted mess of binding statements opening the door to unnecessary, irresponsible domain logic in your view layouts.

Whilst the latter of these statements can be true, data binding offers a very powerful code generation syntax, allowing you to utilise the power of the compiler to ensure that your binding statements are runtime safe. Combining this with the concise syntax afforded by Kotlin allows us to dramatically cut down on boilerplate and build complex user interfaces with relative ease.

This application is an example for the Android Data Binding library, making use of Retrofit, Coroutines, Moshi, and Android Jetpack components, to fetch a list of GitHub repositories and update a RecyclerView using the binding methods to display each repository as a view component.

Enter a GitHub username in the ActionBar SearchView component to trigger the observable request, the application uses Retrofit to query the open GitHub API for repositories, results are returned in the RecyclerView with data bindings.

最新版本1.0更新日誌

Last updated on 2018年06月10日

Minor bug fixes and improvements. Install or update to the newest version to check it out!

翻譯中...

更多應用信息

最新版本

請求 Data Binding with Kotlin Example 更新 1.0

系統要求

5.0 and up

更多

Data Binding with Kotlin Example 螢幕截圖

評論載入中...
語言
訂閱APKPure
第一時間獲取熱門安卓遊戲應用的首發體驗,最新資訊和玩法教程。
不,謝謝
訂閱
訂閱成功!
您已訂閱APKPure。
訂閱APKPure
第一時間獲取熱門安卓遊戲應用的首發體驗,最新資訊和玩法教程。
不,謝謝
訂閱
成功!
您已訂閱我們的郵件通知。