@Override protected void handleInitialLoad(final Object object, int key) { switch (key) { case BasePage.BLOCK_TOPIC_HEADER: Meow.inMain( new Runnable() { @Override public void run() { if (getActivity() == null) return; getActivity().setTitle(((Topic) object).title); if (Build.VERSION.SDK_INT >= 21) getActivity() .setTaskDescription( new ActivityManager.TaskDescription(((Topic) object).title)); } }); break; case MID_TREEFIXER: getCommentPart().updateFrom(treeFixer); } }
@OnTextChanged(R.id.text) void textChanged(CharSequence text) { Meow.tintTags((Editable) text); }