set Close Click Listener
Sets a click listener for the close button. If the listener is null, the close button will be hidden. Otherwise, it will be visible. When the close button is clicked, the provided listener's onClick
method will be invoked.
Parameters
on Click Listener
The AppBarModel.OnClickListener to be invoked when the close button is clicked. Pass null
to remove the listener and hide the button.