Preparing the release
This commit is contained in:
parent
ab332e1410
commit
5ec7f4df4e
@ -12,6 +12,10 @@ android {
|
|||||||
versionCode 1
|
versionCode 1
|
||||||
versionName version
|
versionName version
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lintOptions {
|
||||||
|
abortOnError false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -11,6 +11,11 @@ android {
|
|||||||
versionCode 1
|
versionCode 1
|
||||||
versionName version
|
versionName version
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lintOptions {
|
||||||
|
// okio....
|
||||||
|
disable 'InvalidPackage'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -20,9 +20,9 @@ import ru.noties.markwon.renderer.SpannableRenderer;
|
|||||||
public abstract class Markwon {
|
public abstract class Markwon {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper method to obtain a {@link Parser} with registered strike-through & table extensions
|
* Helper method to obtain a Parser with registered strike-through & table extensions
|
||||||
*
|
*
|
||||||
* @return a {@link Parser} instance that is supported by this library
|
* @return a Parser instance that is supported by this library
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public static Parser createParser() {
|
public static Parser createParser() {
|
||||||
@ -145,7 +145,7 @@ public abstract class Markwon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* De-references previously scheduled {@link ru.noties.markwon.spans.AsyncDrawableSpan}'s
|
* De-references previously scheduled {@link ru.noties.markwon.spans.AsyncDrawableSpan}'s
|
||||||
*
|
*
|
||||||
* @param view a {@link TextView}
|
* @param view a {@link TextView}
|
||||||
* @see #scheduleDrawables(TextView)
|
* @see #scheduleDrawables(TextView)
|
||||||
@ -165,7 +165,7 @@ public abstract class Markwon {
|
|||||||
* ability for {@link ru.noties.markwon.spans.TableRowSpan} to invalidate
|
* ability for {@link ru.noties.markwon.spans.TableRowSpan} to invalidate
|
||||||
* `view` when it encounters such a situation (when available width is not known or have changed).
|
* `view` when it encounters such a situation (when available width is not known or have changed).
|
||||||
* Precede this call with {@link #unscheduleTableRows(TextView)} in order to
|
* Precede this call with {@link #unscheduleTableRows(TextView)} in order to
|
||||||
* de-reference previously scheduled {@link ru.noties.markwon.spans.TableRowSpan}'s
|
* de-reference previously scheduled {@link ru.noties.markwon.spans.TableRowSpan}'s
|
||||||
*
|
*
|
||||||
* @param view a {@link TextView}
|
* @param view a {@link TextView}
|
||||||
* @see #unscheduleTableRows(TextView)
|
* @see #unscheduleTableRows(TextView)
|
||||||
@ -176,7 +176,7 @@ public abstract class Markwon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* De-references previously scheduled {@link ru.noties.markwon.spans.TableRowSpan}'s
|
* De-references previously scheduled {@link ru.noties.markwon.spans.TableRowSpan}'s
|
||||||
*
|
*
|
||||||
* @param view a {@link TextView}
|
* @param view a {@link TextView}
|
||||||
* @see #scheduleTableRows(TextView)
|
* @see #scheduleTableRows(TextView)
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package ru.noties.markwon.spans;
|
package ru.noties.markwon.spans;
|
||||||
|
|
||||||
|
import android.annotation.SuppressLint;
|
||||||
import android.graphics.Canvas;
|
import android.graphics.Canvas;
|
||||||
import android.graphics.Paint;
|
import android.graphics.Paint;
|
||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
@ -230,6 +231,7 @@ public class TableRowSpan extends ReplacementSpan {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressLint("SwitchIntDef")
|
||||||
private static Layout.Alignment alignment(@Alignment int alignment) {
|
private static Layout.Alignment alignment(@Alignment int alignment) {
|
||||||
final Layout.Alignment out;
|
final Layout.Alignment out;
|
||||||
switch (alignment) {
|
switch (alignment) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user