File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
omegatypes/src/main/java/com/omega_r/libs/omegatypes Expand file tree Collapse file tree 2 files changed +6
-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 @@ -4,11 +4,14 @@ import android.content.Context
44import android.graphics.*
55import android.text.SpannableString
66import android.text.style.*
7+ import java.io.Serializable
8+ import android.text.style.ForegroundColorSpan
9+ import android.text.style.StyleSpan
710
811/* *
912 * Created by Anton Knyazev on 25.04.2019.
1013 */
11- abstract class TextStyle {
14+ abstract class TextStyle : Serializable {
1215
1316 companion object {
1417
You can’t perform that action at this time.
0 commit comments