app/src/main/java/com/adroitdevs/belanja/MainActivity.java
public void createNewTask(String desc) {
        Task t = new Task(desc);
        sTasks.createDocument(t);
        reloadTasksFromModel();
    }
// Create new task and add to local Cloudant datastore and list adapter list.
Create new task and add to local Cloudant datastore and list adapter list.
Create new task and add to local Cloudant datastore and list adapter list .
public void createNewTask(String desc) {
        Task t = new Task(desc);
        sTasks.createDocument(t);
        reloadTasksFromModel();
    }
public void createNewTask ( String desc ) { Task t = new Task ( desc ) ; sTasks . createDocument ( t ) ; reloadTasksFromModel ( ) ; }
Create new task and add to local Cloudant datastore and list adapter list.
Create new task and add to local Cloudant datastore and list adapter list .