pop

abstract fun pop(result: PopResult? = null): R?(source)

Attempt to pop the top item off of the back stack, returning the popped Record if popping was successful or null if no entry was popped.

Parameters

result

An optional PopResult that will be passed to previous record on the stack after this record is removed.