onDrawerStateChanged

fun DrawerLayout.onDrawerStateChanged(function: (newState: Int) -> Unit)