@Override
public void onAnchorAddedBefore(ConversationBlip blip, ReplyDoodad ref, ReplyDoodad dood) {
BlipView blipUi = views.getBlipView(blip);
BlipMetaView metaUi = blipUi != null ? blipUi.getMeta() : null;
if (metaUi != null) {
AnchorView inlineUi = dood.getAnchor();
metaUi.insertInlineAnchorBefore(ref != null ? ref.getAnchor() : null, inlineUi);
// Move reply if it exists.
ConversationThread reply = blip.getReplyThread(dood.getId());
AnchorView defaultUi = reply != null ? views.getDefaultAnchor(reply) : null;
InlineThreadView replyUi = defaultUi != null ? defaultUi.getThread() : null;
if (replyUi != null) {
defaultUi.detach(replyUi);
inlineUi.attach(replyUi);
}
}
}