@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ButterKnife.inject(this); context = getApplicationContext(); uploadImages = new ArrayList<>(); emojiPanelViewHolder = new EmojiPanelViewHolder((LinearLayout) findViewById(R.id.common_publish_emoji_panel)); emojiPanelViewHolder.fillViews( context, txtContent, new View.OnClickListener() { @Override public void onClick(View v) {} }); }
@OnClick(R.id.txt_content) public void onEditTextCommonPublishContent(View v) { emojiPanelViewHolder.hide(); }
@OnClick(R.id.btn_emoji) public void onBtnCommonPublishEmojiClick(View v) { emojiPanelViewHolder.show(); ScreenUtils.hideSoftInput(context, txtContent); }