Skip to content

changes to support async remote loading of surveys#401

Merged
liujoshua merged 6 commits intoResearchStack:developfrom
DwayneJengSage:develop
Nov 8, 2017
Merged

changes to support async remote loading of surveys#401
liujoshua merged 6 commits intoResearchStack:developfrom
DwayneJengSage:develop

Conversation

@DwayneJengSage
Copy link
Collaborator

Refactors DataProvider and ActivitiesFragment to enable async loading of remote surveys. Added Factories to facilitate unit tests.

Testing done:

  • ./gradlew check
  • Tested through CRF Module

*/
protected void startCustomTask(SchedulesAndTasksModel.TaskScheduleModel task) {
// TODO: figure out a different way to show do these in loadTask
if (task.taskID.equals(APHTappingActivitySurveyIdentifier)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd suggest making this method abstract and moving the contents to mPower

@dephillipsmichael
Copy link
Contributor

Looks good 👍

@liujoshua liujoshua merged commit 8fe4e2c into ResearchStack:develop Nov 8, 2017
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.

3 participants