diff --git a/opensrp-path/src/main/java/org/smartregister/path/activity/AnnualCoverageReportCsoActivity.java b/opensrp-path/src/main/java/org/smartregister/path/activity/AnnualCoverageReportCsoActivity.java index 59248764..5df64bfb 100644 --- a/opensrp-path/src/main/java/org/smartregister/path/activity/AnnualCoverageReportCsoActivity.java +++ b/opensrp-path/src/main/java/org/smartregister/path/activity/AnnualCoverageReportCsoActivity.java @@ -266,7 +266,7 @@ public void onItemSelected(AdapterView parent, View view, int position, long @Override public void onNothingSelected(AdapterView parent) { - + // Do nothing } }); } diff --git a/opensrp-path/src/main/java/org/smartregister/path/activity/AnnualCoverageReportZeirActivity.java b/opensrp-path/src/main/java/org/smartregister/path/activity/AnnualCoverageReportZeirActivity.java index e804e806..c70edfe5 100644 --- a/opensrp-path/src/main/java/org/smartregister/path/activity/AnnualCoverageReportZeirActivity.java +++ b/opensrp-path/src/main/java/org/smartregister/path/activity/AnnualCoverageReportZeirActivity.java @@ -3,7 +3,6 @@ import android.content.Intent; import android.os.Bundle; import android.support.v4.widget.DrawerLayout; -import android.support.v7.app.ActionBarDrawerToggle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -226,7 +225,7 @@ public void onItemSelected(AdapterView parent, View view, int position, long @Override public void onNothingSelected(AdapterView parent) { - + // Do Nothing } }); } diff --git a/opensrp-path/src/main/java/org/smartregister/path/activity/CohortCoverageReportActivity.java b/opensrp-path/src/main/java/org/smartregister/path/activity/CohortCoverageReportActivity.java index 370e1c45..449545ca 100644 --- a/opensrp-path/src/main/java/org/smartregister/path/activity/CohortCoverageReportActivity.java +++ b/opensrp-path/src/main/java/org/smartregister/path/activity/CohortCoverageReportActivity.java @@ -227,7 +227,7 @@ public void onItemSelected(AdapterView parent, View view, int position, long @Override public void onNothingSelected(AdapterView parent) { - + // Do Nothing } }); } diff --git a/opensrp-path/src/main/java/org/smartregister/path/activity/CoverageReportsActivity.java b/opensrp-path/src/main/java/org/smartregister/path/activity/CoverageReportsActivity.java index 94500437..8fe9fa13 100644 --- a/opensrp-path/src/main/java/org/smartregister/path/activity/CoverageReportsActivity.java +++ b/opensrp-path/src/main/java/org/smartregister/path/activity/CoverageReportsActivity.java @@ -1,16 +1,12 @@ package org.smartregister.path.activity; -import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBarDrawerToggle; -import android.view.LayoutInflater; import android.view.View; -import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ArrayAdapter; -import android.widget.BaseAdapter; import android.widget.LinearLayout; import android.widget.ListView; import android.widget.TextView; diff --git a/opensrp-path/src/main/java/org/smartregister/path/activity/FacilityCumulativeCoverageReportActivity.java b/opensrp-path/src/main/java/org/smartregister/path/activity/FacilityCumulativeCoverageReportActivity.java index 321aee97..e01b3899 100644 --- a/opensrp-path/src/main/java/org/smartregister/path/activity/FacilityCumulativeCoverageReportActivity.java +++ b/opensrp-path/src/main/java/org/smartregister/path/activity/FacilityCumulativeCoverageReportActivity.java @@ -1,44 +1,22 @@ package org.smartregister.path.activity; import android.content.Intent; -import android.graphics.DashPathEffect; import android.os.Bundle; import android.support.v4.widget.DrawerLayout; -import android.view.LayoutInflater; import android.view.View; -import android.view.ViewGroup; -import android.widget.AdapterView; -import android.widget.BaseAdapter; -import android.widget.EditText; import android.widget.LinearLayout; -import android.widget.ListView; import android.widget.TextView; -import org.apache.commons.lang3.StringUtils; -import org.opensrp.api.constants.Gender; import org.smartregister.domain.FetchStatus; -import org.smartregister.growthmonitoring.domain.ZScore; import org.smartregister.immunization.db.VaccineRepo; import org.smartregister.path.R; -import org.smartregister.path.adapter.SpinnerAdapter; -import org.smartregister.path.application.VaccinatorApplication; -import org.smartregister.path.fragment.SetCsoDialogFragment; -import org.smartregister.path.helper.SpinnerHelper; import org.smartregister.path.toolbar.LocationSwitcherToolbar; -import org.w3c.dom.Text; -import java.text.DateFormatSymbols; -import java.text.SimpleDateFormat; import java.util.ArrayList; -import java.util.Calendar; -import java.util.Collections; -import java.util.Comparator; import java.util.Date; import java.util.List; -import java.util.Random; import lecho.lib.hellocharts.formatter.SimpleAxisValueFormatter; -import lecho.lib.hellocharts.formatter.SimpleColumnChartValueFormatter; import lecho.lib.hellocharts.model.Axis; import lecho.lib.hellocharts.model.AxisValue; import lecho.lib.hellocharts.model.Line; @@ -47,7 +25,6 @@ import lecho.lib.hellocharts.model.ValueShape; import lecho.lib.hellocharts.model.Viewport; import lecho.lib.hellocharts.view.LineChartView; -import util.PathConstants; import util.Utils; /** diff --git a/opensrp-path/src/main/java/org/smartregister/path/fragment/SetCsoDialogFragment.java b/opensrp-path/src/main/java/org/smartregister/path/fragment/SetCsoDialogFragment.java index 96e0b78a..1d73c6dc 100644 --- a/opensrp-path/src/main/java/org/smartregister/path/fragment/SetCsoDialogFragment.java +++ b/opensrp-path/src/main/java/org/smartregister/path/fragment/SetCsoDialogFragment.java @@ -15,7 +15,6 @@ import android.view.View; import android.view.ViewGroup; import android.view.Window; -import android.view.inputmethod.EditorInfo; import android.widget.Button; import android.widget.EditText; import android.widget.FrameLayout; @@ -24,14 +23,10 @@ import org.apache.commons.lang3.StringUtils; import org.json.JSONArray; import org.json.JSONException; -import org.smartregister.immunization.listener.VaccinationActionListener; import org.smartregister.path.R; import org.smartregister.path.activity.BaseActivity; import org.smartregister.path.application.VaccinatorApplication; import org.smartregister.path.view.LocationPickerView; -import org.w3c.dom.Text; - -import java.util.Calendar; import util.JsonFormUtils; import util.PathConstants; @@ -52,10 +47,6 @@ public static SetCsoDialogFragment newInstance(int year, Long previousValue) { return f; } - public SetCsoDialogFragment() { - super(); - } - public void setYear(int year) { this.year = year; } diff --git a/opensrp-path/src/main/res/values/strings.xml b/opensrp-path/src/main/res/values/strings.xml index 68313905..ea4392f8 100644 --- a/opensrp-path/src/main/res/values/strings.xml +++ b/opensrp-path/src/main/res/values/strings.xml @@ -250,7 +250,7 @@ CSO target cannot be blank. CSO Target: CSO Target Monthly: - Immunization Monitoring Chart - %1$d - + Immunization Monitoring Chart - %1$d - %2$s Total\n%1$s Cum.\n%1$s