in my project i have to create toast at runtime and show it dynamically. because of that i made this project down below for reference and i came across this error.Is there any solution or workaround for this?
For catching error user should press x button on toast.