- All
DrawingViewState
objects now adopt@Serializable
annotation. - Make
DrawingViewState.isHistoryEmpty
,DrawingViewState.isUndoneEmpty
,DrawingViewState.numHistorySteps
andDrawingViewState.numUndoneSteps
public. - bump Gradle plugin to 8.7.2, Kotlin to 2.0.20
- bump buildToolsVersion 35.0.0, targetSdkVersion, compileSdkVersion to 35
- bump Gradle plugin to 8.1.1, Kotlin to 1.9.0
- bump buildToolsVersion 34.0.0, targetSdkVersion, compileSdkVersion to 34
- bump core-ktx to 1.10.1, appcompat to 1.6.1, material to 1.9.0
- all properties in
DrawingViewState
are custom, allowing us to fully control serialization
- add
DrawingViewState
containing all the needed information to draw image on canvas - bump Kotlin to 1.6.21, Gradle plugin to 7.1.3
- bump buildToolsVersion to 32.0.0, compileSdkVersion and targetSdkVersion to 32
- bump Gradle plugin to 7.0.0
- update publish scripts
- add
undoAll()
,redoAll()
,clearRedoHistory()
,isDrawingEmpty()
- add explicit callbacks parameter names to
listenerEmptyState
andlistenerDrawingInProgress
- add option to define canvas colour
- remove reference to additional canvas
- better documentation of public methods and parameters
- add
sizeChanged
flag to determine when to create new canvas instead of creating it from bitmap on every size change - bump Kotlin to 1.4.31, Gradle plugin to 4.1.3, Build tools to 30.0.3
- add documentation
- remove deprecated Kotlin extensions from example app
- bump to Kotlin 1.4.20 and Gradle plugin 4.1.1
- add license
- bump Kotlin to 1.4.0, Gradle plugin to 4.0.1 and build tools to 30.0.2
- initial public release