|
|
@@ -186,6 +186,16 @@ public class MyMainModel extends Model {
|
|
|
return bucketList;
|
|
|
}
|
|
|
|
|
|
+ public ArrayList<BucketWithTagBean> getNotCompletedBucketList(){
|
|
|
+ ArrayList<BucketWithTagBean> notCompletedBucketList = new ArrayList<>();
|
|
|
+ for(int i =0; i<bucketList.size(); i++){
|
|
|
+ if(!bucketList.get(i).isCompleted()){
|
|
|
+ notCompletedBucketList.add(bucketList.get(i));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return notCompletedBucketList;
|
|
|
+ }
|
|
|
+
|
|
|
public void stopLoading() {
|
|
|
if (null != disposableBookMarkList) {
|
|
|
disposableBookMarkList.dispose();
|