Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster loading change #32

Merged
merged 1 commit into from
Jul 25, 2013
Merged

Faster loading change #32

merged 1 commit into from
Jul 25, 2013

Conversation

priyald17
Copy link
Contributor

IMPORTANT: please see my inline github comments. Since there is a lot of copy/paste, these comments draw attention to the important changes (which are hard to sniff out in the diffs).

Changed ExperimentDAOCore such that it no longer includes schedule/signaling params.

This change involved changing the flow on the Android client such that an experiment's full definition is loaded after the user agrees to the Informed Consent Form but before the user schedules the experiment. Thus, there is a lot of copy/paste of code that used to be in ExperimentScheduleActivity into InformedConsentActivity. Also, the MockExperimentProviderUtil previoulsy used in the ExperimentScheduleActivityTest is now available to the InformedConsentActivityTest as well.

…uch that schedule params are no longer part of ExperimentDAOCore. This is an initial step in moving to using SignalGroups in the ExperimentDAO.\n Also fixed a bug in ExperimentRetriever, accounting for the fact that an experiement's published property might be null.
experiment = experimentProviderUtil.getExperiment(uri);
// } else {
// experiment = experimentProviderUtil.getExperimentFromDisk(uri);
// }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops! I meant to delete the extraneous statements here (since we don't need them for future reference) and will do so after the review.

@ghost ghost assigned BobEvans Jul 25, 2013
@BobEvans
Copy link
Collaborator

LGTM

@ghost ghost assigned priyald17 Jul 25, 2013
@priyald17 priyald17 merged commit b053dbd into develop Jul 25, 2013
@priyald17 priyald17 deleted the fasterLoadingChange branch July 25, 2013 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants