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

Update opd version to 0.0.8 #29

Merged
merged 1 commit into from
Nov 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion opensrp-chw-hf/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,25 @@ dependencies {

implementation ('org.smartregister:opensrp-client-chw-core:1.0.19-SNAPSHOT@aar') {
transitive = true
exclude group: 'org.smartregister', module: 'opensrp-client-native-form'
}

implementation ('org.smartregister:opensrp-client-opd:0.0.4-SNAPSHOT@aar'){
implementation ('org.smartregister:opensrp-client-opd:0.0.8-SNAPSHOT@aar'){
transitive = true
exclude group: 'com.github.lecho', module: 'hellocharts-android'
exclude group: 'org.smartregister', module: 'opensrp-client-native-form'
}

implementation ('org.smartregister:opensrp-client-native-form:1.6.59-SNAPSHOT@aar') {
transitive = true
exclude group: 'com.android.support', module: 'recyclerview-v7'
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'com.android.support', module: 'cardview-v7'
exclude group: 'com.android.support', module: 'support-media-compat'
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'design'
exclude group: 'org.yaml', module: 'snakeyaml'
exclude group: 'io.ona.rdt-capture', module: 'lib'
}

implementation 'com.android.support:appcompat-v7:28.0.0'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
package org.smartregister.chw.hf.presenter;

import android.support.annotation.NonNull;

import org.apache.commons.lang3.tuple.Triple;
import org.smartregister.opd.contract.OpdRegisterActivityContract;
import org.smartregister.opd.pojos.RegisterParams;
import org.smartregister.opd.presenter.BaseOpdRegisterActivityPresenter;

public class AllClientsRegisterPresenter extends BaseOpdRegisterActivityPresenter {
Expand All @@ -16,17 +19,17 @@ public void onNoUniqueId() {
}

@Override
public void onUniqueIdFetched(Triple<String, String, String> triple, String s) {
public void onRegistrationSaved(boolean b) {
//Overridden from the abstract class - implementation not needed
}

@Override
public void onRegistrationSaved(boolean b) {
public void onUniqueIdFetched(Triple<String, String, String> triple, String s) {
//Overridden from the abstract class - implementation not needed
}

@Override
public void startForm(String s, String s1, String s2, String s3) {
public void saveForm(String s, @NonNull RegisterParams registerParams) {
//Overridden from the abstract class - implementation not needed
}
}