CMPUT301W15T03 / Team3ScandalouStopwatch

CMPUT301 TEAM CMPUT301W15T3 Git Repository
Apache License 2.0
0 stars 0 forks source link

ClaimLists and Tag Search #9

Closed datjwu closed 9 years ago

datjwu commented 9 years ago

Since performing a tag search should return a list of claims with all of the claims with the associated tag, does this require us to change the ClaimList model as it is currently a singleton?

ghost commented 9 years ago

I'm thinking ClamList shouldn't be a singleton. Right now as far as I can tell the only point of making it a singleton is so when you create/edit a claim the list gets automatically updated. But this can easily be done by reloading the claims into the list in ClaimListActivity's onResume().

datjwu commented 9 years ago

Okay. ClaimList is now no longer a Singleton. I tested the ClaimListActivity and it works fine but we may need to test further to verify things still work (can't see why they wouldn't though).