Convert TimelineFragment to Kotlin & ViewBinding (#2131)
* convert TimelineFragment to Kotlin * cleanup some code * migrate to viewbinding * cleanup even more code * address review feedback * improve findStatusOrReblogPositionById
This commit is contained in:
parent
eea8b53617
commit
bf6d7a6b97
4 changed files with 1268 additions and 1529 deletions
|
|
@ -22,7 +22,7 @@ import com.keylesspalace.tusky.viewdata.StatusViewData
|
|||
import kotlin.math.min
|
||||
|
||||
// Not using lambdas because there's boxing of int then
|
||||
interface StatusProvider {
|
||||
fun interface StatusProvider {
|
||||
fun getStatus(pos: Int): StatusViewData?
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue