Skip to content

Commit

Permalink
MI | Add service schedule & z-score callculation #6
Browse files Browse the repository at this point in the history
Signed-off-by: mib-iqbal <[email protected]>
  • Loading branch information
mib-iqbal committed Nov 29, 2017
1 parent 7223e0f commit 06dd447
Show file tree
Hide file tree
Showing 2 changed files with 371 additions and 80 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,14 @@ private String sortByAlertmethod() {
private void initializeQueries() {
String tableName = "ec_anak";
// String parentTableName = PathConstants.MOTHER_TABLE_NAME;
ChildSmartClientsProvider kiscp = new ChildSmartClientsProvider(getActivity(),clientActionHandler,context().alertService());
clientAdapter = new SmartRegisterPaginatedCursorAdapter(getActivity(), null, kiscp, new CommonRepository("ec_anak",new String []{"tanggalLahirAnak","namaBayi"}));
clientsView.setAdapter(clientAdapter);

ChildSmartClientsProvider hhscp = new ChildSmartClientsProvider(getActivity(),
/* ChildSmartClientsProvider hhscp = new ChildSmartClientsProvider(getActivity(),
clientActionHandler, context().alertService(), context().commonrepository(tableName));
clientAdapter = new SmartRegisterPaginatedCursorAdapter(getActivity(), null, hhscp, context().commonrepository(tableName));
clientsView.setAdapter(clientAdapter);
clientsView.setAdapter(clientAdapter);*/

setTablename(tableName);
SmartRegisterQueryBuilder countqueryBUilder = new SmartRegisterQueryBuilder();
Expand Down
Loading

0 comments on commit 06dd447

Please sign in to comment.