How to add function in mainView only working to mainView


#1

how to add function in mainView only working to main view