How to set webviewer desktop and mobile mode browser app

Hello everyone I have a problem in my browser app web viewer I want to add currectly desktop or mobile mode in my app
When I click in desktop mode enable button the webviwer is enable desktop mode but page loading start again

This is normal behaviour.
When you switch user agents, webview should be reloaded in order for changes to take place.


Page is reloading to load there website css to work in desktop mode or in mobile mode.

This is not a problem this is normal have you check popular browser like chrome also reload page to change the user agent