android - What's the difference between ContentObservable and DataSetObservable? -


they both inherit observable. , functions not differ much, why not provide single class?

as can see code sources, datasetobservable sending notifications list of datasetobserver objects, while contentobservable sending notifications list of contentobserver objects

see sources: https://github.com/android/platform_frameworks_base/blob/master/core/java/android/database/datasetobservable.java

https://github.com/android/platform_frameworks_base/blob/master/core/java/android/database/contentobservable.java


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -