int index = logicalView.getViewIndex(startOffset, Position.Bias.Forward); View retVal = null; if (index >= 0) { retVal = logicalView.getView(index);
int index = logicalView.getViewIndex(startOffset, Position.Bias.Forward); View retVal = logicalView.getView(index);
    protected View createView(FlowView fv, int startOffset, int spanLeft,                              int rowIndex)    {      View logicalView = getLogicalView(fv);       // FIXME: Handle the bias thing correctly.       int index = logicalView.getViewIndex(startOffset, Position.Bias.Forward);       View retVal = null;       if (index >= 0)         {           retVal = logicalView.getView(index);           if (retVal.getStartOffset() != startOffset)             retVal = retVal.createFragment(startOffset, retVal.getEndOffset());         }       return retVal;    }