I am not able to set Toastbar at centre position. I am using below code to set toastbar at centre position "ToastBar.getInstance().setPosition(Component.CENTER);" But this is not working.
Center would probably take up the entire screen. Currently the only two supported values for position are TOP
& BOTTOM
as indicated in the param argument in the javadoc.