You need to add a dependency in your application module /build.gradle(or where you need to use the bypass).
For instance: compile 'com.commit451:bypasses:1.0.1'
After that, you can start using this library in your code.
You have a usage example here
TextView text = (TextView) findViewById(R.id.demoText);
Bypass bypass = new Bypass();
String markdownString = "#Markdown!";
CharSequence string = bypass.markdownToSpannable(markdownString);
text.setText(string);
text.setMovementMethod(LinkMovementMethod.getInstance());
source
share