-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce
MarkdownRange
class on Android (#559)
- Loading branch information
Showing
2 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
android/src/main/java/com/expensify/livemarkdown/MarkdownRange.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package com.expensify.livemarkdown; | ||
|
||
public class MarkdownRange { | ||
private final String mType; | ||
private final int mStart; | ||
private final int mLength; | ||
private final int mDepth; | ||
|
||
public MarkdownRange(String type, int start, int length, int depth) { | ||
mType = type; | ||
mStart = start; | ||
mLength = length; | ||
mDepth = depth; | ||
} | ||
|
||
public String getType() { | ||
return mType; | ||
} | ||
|
||
public int getStart() { | ||
return mStart; | ||
} | ||
|
||
public int getLength() { | ||
return mLength; | ||
} | ||
|
||
public int getDepth() { | ||
return mDepth; | ||
} | ||
} |
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