File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
presentation/src/main/java/com/stop/ui/route Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package com.stop.ui.route
3
3
import android.content.Context
4
4
import android.content.res.ColorStateList
5
5
import android.graphics.Color
6
- import android.transition.TransitionManager
7
6
import android.util.AttributeSet
8
7
import android.view.LayoutInflater
9
8
import android.view.View
@@ -59,7 +58,7 @@ class TimeLineContainer(
59
58
val timeLineItem2Binding = TimeLineItem2Binding .inflate(
60
59
LayoutInflater .from(context),
61
60
this @TimeLineContainer,
62
- false ,
61
+ true ,
63
62
).apply {
64
63
root.id = View .generateViewId()
65
64
if (index != 0 ) {
@@ -70,8 +69,6 @@ class TimeLineContainer(
70
69
}
71
70
}
72
71
73
-
74
- addView(timeLineItem2Binding.root)
75
72
setBindingAttribute(timeLineItem2Binding, route, index)
76
73
}
77
74
}
@@ -122,15 +119,13 @@ class TimeLineContainer(
122
119
setConstraint(binding)
123
120
}
124
121
125
- // viewIcon 위주로 설정하면 됨
126
122
private fun setConstraint (binding : TimeLineItem2Binding ) {
127
123
val endId = beforeViewIconId ? : this @TimeLineContainer.id
128
124
val endSide = if (beforeViewIconId == null ) {
129
125
ConstraintSet .START
130
126
} else {
131
127
ConstraintSet .END
132
128
}
133
- TransitionManager .beginDelayedTransition(this @TimeLineContainer)
134
129
135
130
with (ConstraintSet ()) {
136
131
clone(this @TimeLineContainer)
You can’t perform that action at this time.
0 commit comments