Learn by using CustomLayout vs DailyScheduler

Jetpack Compose's CustomLayout allows to create more complex UIs compared to using existing components such as Row, Column and Box. You can freely position elements by defining constraints, measuring them and placing them in arbitrary positions. But that doesn't really give you an idea of what it's like, does it? In this session, you will learn the basics of CustomLayout and practical tips through the implementation of a Daily Scheduler in CustomLayout, such as in a calendar application. [Expected learnings] - Basic knowledge of CustomLayout - Practical knowledge of CustomLayout - How to implement DailyScheduler [Functions to be implemented] - Displaying the vertical axis by time - Adjusting the placement and size of events corresponding to the time - Adjusting the width when there are multiple events at the same time - Snapping to time - Delayed rendering - Drag & drop events [Keywords] - Layout - Constraints - Measurable - Placeable - Place - ParentDataModifier (Translated by the DroidKaigi Committee)

  • Saiki Iijima U-NEXT Co., Ltd. AndroidAppDeveloper

View slides

Summary

  • Dates 2024.09.13 / 15:20 ~ 16:00 (40min)
  • Place Hedgehog
  • Language Japanese (English interpretation available)

Intended audience

Beginning to intermediate Android engineers who use Compose. In particular, those who are -Beginners with CustomLayout - Anyone interested in complex Layout implementations - Anyone planning to implement DailyScheduler

Android is a trademark of Google LLC. The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. Android, Google Play and the Google Play logo are trademarks of Google LLC.
Past DroidKaigi

© 2014- DroidKaigi Committee