I was connecting to wifi network using
`wifiManager.EnableNetwork(networkId, true);
wifiManager.Reconnect();`
It was working fine with earlier android versions, but on android 8 it is not working properly. Continuously trying to connect the network with internet connectivity either mobile data network or other wifi network.
Tried to disable network auto connect using
`wifiManager.DisableNetwork(networkId);`
which always returns false as now its not possible to disable or remove network created by other apps.
Looked at another option CaptivePortal.ignoreNetwork() in android(java), but could not find similar functionality in xamarin. Why??
Can I request suggestions if someone has faced and resolved similar kind of problem?