Created
December 5, 2018 06:00
-
-
Save KingsMentor/958824195aad926514cbdd34928ef906 to your computer and use it in GitHub Desktop.
This file contains 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 com.android.tools.lint.client.api.IssueRegistry; | |
import com.android.tools.lint.detector.api.Issue; | |
import java.util.Arrays; | |
import java.util.List; | |
import static ai.helfie.lintrules.Issues.ISSUE; | |
public class CustomIssueRegistry extends IssueRegistry { | |
private List<Issue> mIssues = Arrays.asList( | |
ISSUE // Could totally add more here | |
); | |
public CustomIssueRegistry() { | |
} | |
@Override | |
public List<Issue> getIssues() { | |
return mIssues; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment