Processing with Android Studio Error in fragment.setView arguments

Hi @isuru
What happens if you just use:

fragment.setView(frame, this);