This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mauricegavin.core.ui.viewModels; | |
import android.support.annotation.NonNull; | |
import com.mauricegavin.core.ui.activities.ActivityResult; | |
import com.mauricegavin.core.ui.displayModel.ActivityDisplayModel; | |
import com.mauricegavin.core.ui.presenter.BasePresenterInput; | |
import rx.Observable; | |
import rx.subjects.PublishSubject; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task checkstyle(type: Checkstyle) { | |
configFile rootProject.file('checkstyle.xml') | |
configFile file("${project.rootDir}/code_quality_tools/checkstyle.xml") | |
ignoreFailures true // Uncomment to fail where warnings > 0 | |
showViolations true | |
source 'src' | |
include '**/*.java'' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.ListIterator; | |
import rx.Observable; | |
import rx.subjects.PublishSubject; | |
/** | |
* http://stackoverflow.com/questions/28816691/how-can-i-create-an-observer-over-a-dynamic-list-in-rxjava | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ReportListFragment extends Fragment { | |
//region Lifecycle methods | |
public static ReportListFragment newInstance(String userId) { | |
ReportListFragment fragment = new ReportListFragment(); | |
Bundle args = new Bundle(); | |
args.putString(Constants.USER_ID, userId); |