In Android Oreo
why bound services
still allowed whereas (Started Services
& IntentServices
) are not allowed.
Suppose I have a bound service which I am binding in my oncreate()
method of my activity and unbinding it in my ondestroy()
method of my activity. Now when a user comes to this activity and presses the home button
because of which my app goes in background
now for the indefinite amount of time this bound service will use resources which I think developers wanted to remove from Oreo
, So don't you think what was the reason behind keeping the bound services if they can also waste memory resources.