Android Apps on Google open source I / O 2019 General Assembly

Google recently open source application for this year's Google I demonstrate the latest features of Android I / O conference / O Android App.

Google I / O Android App in the Google I / O conference on the new version of Android demo application for the use of project code  iosched . This year's application significantly modify existing functionality and adds several new features, according to Takeshi Hagikura introduction of Google engineers, we can see some interesting characteristics, and for developers, which is currently studying the new Android characteristic best practices developed.

Gestures

The first is the introduction of Android Q completely gestures, which allows users to directly use gestures to navigate between different pages, Google I / O Android App 2019 is the first version fully supports the application of this feature.

Discussion and improvement details:

Dark theme

Android Q introduced another new feature is the new system of Diablo theme, it applies to applications running on the Android system UI and Android devices, it is also integrated into the Google I / O Android App version in 2019. Diablo theme brings many benefits to developers, such as the ability to reduce power consumption for low vision and sensitivity to glare of the screen users can improve content visibility.

Discussion and improvement details:

改进了日程 UI(schedule UI

去年版本的 Google I/O Android App 采用了带有水平滑动选项卡的日程 UI,每个选项卡代表一个会议日。2019 年版本,更改了 UI 以解决一些可用性和性能问题。例如,当选定相应日程时,所有选项卡中的视图都会同时呈现,这可以显着加速 UI 变化,尤其是在低端设备上。

新的日程 UI 是单个流,允许应用仅呈现可见内容,用户可以通过选择 UI 顶部的日期轻松跳转到另一个会议日。

相关讨论与改进细节:

导航组件

引入了 Navigation 组件,将今年的应用简化为 Single Activity 应用,这带来了几大好处:

  • 能够在导航编辑器中一目了然地查看所有过渡,简化了启动会话详细信息和启动操作中的映射
  • 删除了用于处理向前和向后导航的样板代码
  • Fragments 之间的参数使用 Safe Args gradle 插件进行静态类型化

相关讨论与改进细节:

全文搜索

今年的应用还添加了搜索功能,以便快速查找会议与演讲者等信息。

此外还有各种小改进,包括主页 UI 变化和远程配置等。

此版本完全使用 Kotlin 重写,并使用 Gradle 构建系统。官方表示,使用 Kotlin 更加符合他们对现代 Android 架构的思考,Kotlin 拥有简洁和强大的语法、对安全的可空性和不变性的支持可以使代码更具弹性。

更多内容查看:

Guess you like

Origin www.oschina.net/news/109145/google-opensource-io20190-android-app