My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 134: search and intents
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jun 2012


 
Reported by DevBinn...@gmail.com, Jun 12, 2012
currently devV0.9.3 is having problems with searchs.

What steps will reproduce the problem?
1.  MixMap or MixListView -> search anything -> breaks
2- MixView deletes markers without starting an intent.

due to search method that relaunch the same activity with different markers, meaning it stores search result markers over the original one, and launch the same caller activity to render the result markers.

This approach doesn't work with android Activity recommended life-cycle, "startActivityForResults() & onActivityResult()" 
and provide overhead and extra copies of markers. "originalMarkerLists, MarkerList, DataView.getMarkerList()"
which all store the same thing!

This also bring an old activity that is not much used "datasourceList" which started to be the activity that handles datasources and viewing the search results.
Now it's barely used "AS an ACTIVITY".

I'm suggesting sending search queries to MixListView as intent and display them their as datasourceList would do. and remove datasourceList class.

The proposed changed will clear out replicate "doMixSearch()" methods, and sets MixListView as the search viewer.

discovered while in "CodeEnhancement" Milestone:
https://github.com/DevBinnooh/mixare/issues/milestones?with_issues=no 
Jun 20, 2012
Project Member #2 daniele.gobbetti
closing since the relevant code was merged and search works now.

Thanks a lot!
Status: Fixed

Powered by Google Project Hosting