Комментарии:
you are the beast bro
ОтветитьAmazing!!!
Ответитьjava code please
ОтветитьCan i get the same kotlin code in java...I have not started Kotlin yet.
Ответитьi have a problem when i open another activity, do have to add
val networkConnection = NetworkConnection(applicationContext)
networkConnection.observe(this, Observer { isConnected ->
if (isConnected) {
}else {
}
})
in all activity?
thanks for your help
Why didn't you talk man?
ОтветитьYou shouldn't use deprecated code "Network Info" for best practice.
Ответитьinside onInactive under if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){
use
connectivityManager.unregisterNetworkCallback(networkCallback)
Add git
ОтветитьIt'll be nice, If we got explanation for each and every code...Thank YOu
ОтветитьWhen it already showing deprecated, Why don't you start with new way of implementing with updated api
ОтветитьAwesome, thank you so much.... muahh....muaaaahhhh 😊
Ответитьapp crash after screen orientation change?
ОтветитьThank you. It's very helpful.
Ответить"java.lang.IllegalArgumentException: NetworkCallback was not registered"
Reply us
Great Tutorial! :) But need of you talking hehe. Thanks!
ОтветитьDoes it work even if no mobile data is on but no mobile data?
ОтветитьThank 👍 but you should have you to provide source code link please give the source code
Ответить