public interface ViewFragment
View
class that the fragment is instance of.
The instances of this interface are created once fragments
of a view have to created e.g. for line-wrapping purposes.
If the returned fragment does not implement this interface
a default wrapper gets created.
Modifier and Type | Method and Description |
---|---|
View |
getOriginalView()
Return original view for which this wrapper is being created.
|
int |
getRelativeEndOffset()
Return relative ending offset against the starting offset
of the original view.
|
int |
getRelativeStartOffset()
Return relative starting offset against the starting offset
of the original view.
|
View getOriginalView()
int getRelativeStartOffset()
int getRelativeEndOffset()