This repo for what I learned in:
- Advanced Android with Kotlin.
- and those codelabs Advanced Android in Kotlin.
EggTimer is a timer app for cooking eggs. You can start and stop the timer, choose different cooking intervals then the app send notification.
This app demonstrates the following views and techniques:
- NotificationManager, NotificationChannel, NotificationStyle and adding action to notifications.
- Implement a Firebase Cloud Messaging
- Send a data payload using a RemoteMessage object
The app creates a circular UI element that resembles a physical fan control. It uses a custom view that extends View to draw a circular fan control dial with an indicator and text labels for the settings: 0 (off), 1 (low), 2 (medium), and 3 (high). When the user clicks the dial, it moves the dial indicator to the next selection, and changes the dial's color from gray to other colors for selections 1-3.
This app demonstrates the following views and techniques:
- Create custom view that extends View
- Override View methods such as onDraw(), performClick() and onSizeChanged()
- Create custom attributes
This app uses a custom view to implement drawing on a canvas in response to touch events. All drawing happens on the UI thread by overriding the custom view's onDraw() method. You can use this technique when drawing always takes less time than a screen refresh cycle on all target devices.
smiple application that animates stars on the screen by changing various View properties that control position, size, rotation, and translucency when pressed the buttons
This app demonstrates the following views and techniques:
- ObjectAnimator, AnimatorListeners, AnimatorSet, LinearInterpolator, PropertyValuesHolder