Mercurial > dwindows
comparison android/DWindows.kt @ 2562:11411f103d27
Android: After removing Address Sanitizer I got a type mismatch error.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 18 May 2021 23:29:15 +0000 |
parents | f28d7d0ca5ed |
children | 56183bef6793 |
comparison
equal
deleted
inserted
replaced
2561:f28d7d0ca5ed | 2562:11411f103d27 |
---|---|
640 override fun getItemId(position: Int): Long { | 640 override fun getItemId(position: Int): Long { |
641 return position.toLong() | 641 return position.toLong() |
642 } | 642 } |
643 | 643 |
644 override fun getView(position: Int, view: View?, parent: ViewGroup): View { | 644 override fun getView(position: Int, view: View?, parent: ViewGroup): View { |
645 var rowView: ConstraintLayout? = view as ConstraintLayout | 645 var rowView: ConstraintLayout? = view as ConstraintLayout? |
646 | 646 |
647 // If the view passed in is null we need to create the layout | 647 // If the view passed in is null we need to create the layout |
648 if(rowView == null) { | 648 if(rowView == null) { |
649 rowView = ConstraintLayout(context) | 649 rowView = ConstraintLayout(context) |
650 val set = ConstraintSet() | 650 val set = ConstraintSet() |