@Override public int nextSpanTransition(int start, int limit, Class type) { return mSpannableString.nextSpanTransition(start, limit, type); }
/** * Return the correct transition for the DynamicLayout$ChangeWatcher span. */ @Override public int nextSpanTransition(int start, int limit, Class type) { if (isWatcher(type)) { type = WatcherWrapper.class; } return super.nextSpanTransition(start, limit, type); }