質問

I am using Content-Observer to observe the Android-Boroswers browser.db which stores information about both history & bookmarks. My requirement is that i want to get notified only if a BOOKMARK is added/updated/removed & update my bookmarks list. But my listener gets fired even if a new page loads into the browser ( because this comes under history). Any way to resolve this ? or to observe changes for a single column. I dont want to unnecesary update my list on every event fired. Thanx in advance.

役に立ちましたか?

解決

Any way to resolve this ?

Add to your WHERE clause a check to see if the BOOKMARK column is 1.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top