File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
omegatypes/src/main/java/com/omega_r/libs/omegatypes Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,13 @@ package com.omega_r.libs.omegatypes
22
33import android.content.Context
44import android.content.res.Resources
5+ import java.io.Serializable
56
67/* *
78 * Created by Anton Knyazev on 29.03.2019.
89 */
910private const val DEFAULT_CAPACITY = 10
10- class TextBuilder (capacity : Int ) {
11+ class TextBuilder (capacity : Int ) : Serializable {
1112
1213 private val list: MutableList <Text > = ArrayList (capacity)
1314
Original file line number Diff line number Diff line change @@ -6,11 +6,12 @@ import android.os.Build
66import android.text.SpannableString
77import android.text.style.ForegroundColorSpan
88import android.text.style.StyleSpan
9+ import java.io.Serializable
910
1011/* *
1112 * Created by Anton Knyazev on 25.04.2019.
1213 */
13- abstract class TextStyle {
14+ abstract class TextStyle : Serializable {
1415
1516 companion object {
1617 fun color (colorRes : Int ): TextStyle = Color (colorRes)
You can’t perform that action at this time.
0 commit comments