File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
presentation/src/main/java/com/stop/ui/route Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 1
1
package com.stop.ui.route
2
2
3
3
import android.graphics.Color
4
- import android.graphics.Rect
5
- import android.view.View
6
4
import androidx.core.content.ContextCompat
7
5
import androidx.recyclerview.widget.RecyclerView
8
6
import com.stop.R
@@ -21,18 +19,6 @@ class RouteViewHolder(
21
19
init {
22
20
binding.recyclerviewTimeLine.adapter = adapter
23
21
binding.recyclerviewTimeLine.setHasFixedSize(true )
24
- binding.recyclerviewTimeLine.addItemDecoration(object : RecyclerView .ItemDecoration () {
25
- override fun getItemOffsets (
26
- outRect : Rect ,
27
- view : View ,
28
- parent : RecyclerView ,
29
- state : RecyclerView .State
30
- ) {
31
- if (parent.getChildAdapterPosition(view) != RecyclerView .NO_POSITION ) {
32
- outRect.set(0 , 0 , 0 , 0 )
33
- }
34
- }
35
- })
36
22
}
37
23
38
24
fun bind (itinerary : Itinerary ) {
You can’t perform that action at this time.
0 commit comments