addNextIntent

@NonNull
open fun addNextIntent(@NonNull nextIntent: @NonNull Intent): @NonNull TaskStackBuilder

Add a new Intent to the task stack. The most recently added Intent will invoke the Activity at the top of the final task stack.

Return

This TaskStackBuilder for method chaining

Parameters

nextIntent

Intent for the next Activity in the synthesized task stack