TestTarget

open class TestTarget : SectionTree.Target

A test target that keeps track of operations and changes.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
open class Operation

Properties

Link copied to clipboard
val DELETE: Int = 2
Link copied to clipboard
val DELETE_RANGE: Int = 6
Link copied to clipboard
val INSERT: Int = 0
Link copied to clipboard
val INSERT_RANGE: Int = 4
Link copied to clipboard
val MOVE: Int = 3
Link copied to clipboard
val UPDATE: Int = 1
Link copied to clipboard
val UPDATE_RANGE: Int = 5

Functions

Link copied to clipboard
open fun changeConfig(dynamicConfig: SectionTree.Target.DynamicConfig)
Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun delete(index: Int)
Link copied to clipboard
open fun deleteRange(index: Int, count: Int)
Link copied to clipboard
open fun getFocusedTo(): Int
Link copied to clipboard
Link copied to clipboard
open fun getNumChanges(): Int
Link copied to clipboard
Link copied to clipboard
open fun insert(index: Int, renderInfo: RenderInfo)
Link copied to clipboard
open fun insertRange(index: Int, count: Int, renderInfos: List<RenderInfo>)
Link copied to clipboard
open fun move(fromPosition: Int, toPosition: Int)
Link copied to clipboard
open fun notifyChangeSetComplete(isDataChanged: Boolean, changeSetCompleteCallback: ChangeSetCompleteCallback)
Link copied to clipboard
open fun requestFocus(index: Int)
Link copied to clipboard
open fun requestFocusWithOffset(index: Int, offset: Int)
open fun requestFocusWithOffset(id: Any, offset: Int)
Link copied to clipboard
open fun requestSmoothFocus(index: Int, offset: Int, type: SmoothScrollAlignmentType)
open fun requestSmoothFocus(id: Any, offset: Int, type: SmoothScrollAlignmentType)
Link copied to clipboard
open fun update(index: Int, renderInfo: RenderInfo)
Link copied to clipboard
open fun updateRange(index: Int, count: Int, renderInfos: List<RenderInfo>)
Link copied to clipboard