Wear Tiles
Latest Update | Current Stable Release | Next Release Candidate | Beta Release | Alpha Release |
---|---|---|---|---|
April 7, 2021 | - | - | - | 1.0.0-alpha02 |
Declaring dependencies
To add a dependency on Wear, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
Add the dependencies for the artifacts you need in the build.gradle
file for
your app or module:
dependencies { // Use to implement support for wear tiles implementation "androidx.wear.tiles:tiles:1.0.0-alpha02" // Use to preview wear tiles in your own app debugImplementation "androidx.wear.tiles:tiles-renderer:1.0.0-alpha02" }
For more information about dependencies, see Add build dependencies.
Feedback
Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.
See the Issue Tracker documentation for more information.
Version 1.0.0
Version 1.0.0-alpha02
April 7, 2021
androidx.wear.tiles:tiles:1.0.0-alpha02
, androidx.wear.tiles:tiles-proto:1.0.0-alpha02
, and androidx.wear.tiles:tiles-renderer:1.0.0-alpha02
are released. Version 1.0.0-alpha02 contains these commits.
API Changes
androidx.wear:wear-tiles
has moved groups, and should now be referred to asandroidx.wear.tiles:tiles
androidx.wear:wear-tiles-renderer
has moved groups, and should now be referred to asandroidx.wear.tiles:tiles-renderer
TileRenderer.LoadActionListener
now consumes an instance ofandroidx.wear.tiles.builders.StateBuilders.State
rather thanandroidx.wear.tiles.proto.StateProto.State
.TileRenderer
now accepts Tile resources fromandroidx.wear.tiles.builders.ResourceBuilders.Resources
, rather than an instance ofandroidx.wear.tiles.renderer.ResourceAccessors
.
Bug Fixes
- Fixed inability to use
LoadActionListener
, as it exposed an internal class.
Version 1.0.0-alpha01
March 10, 2021
androidx.wear:wear-tiles:1.0.0-alpha01
, androidx.wear:wear-tiles-proto:1.0.0-alpha01
, and androidx.wear:wear-tiles-renderer:1.0.0-alpha01
are released. Version 1.0.0-alpha01 contains these commits.
New Features
- The Wear Tiles Renderer library provides functionality to build custom Tiles for Wear OS devices, along with the classes that allow the system to fetch your Tile and display it right next to your watch face.