setState

fun setState(state: LoadState)

Updates load state for the header or footer, if the position of state is unknown the startState will will be updated accordingly