예제 #1
0
 @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) {}
       });
 }
예제 #2
0
 @OnClick(R.id.txt_content)
 public void onEditTextCommonPublishContent(View v) {
   emojiPanelViewHolder.hide();
 }
예제 #3
0
 @OnClick(R.id.btn_emoji)
 public void onBtnCommonPublishEmojiClick(View v) {
   emojiPanelViewHolder.show();
   ScreenUtils.hideSoftInput(context, txtContent);
 }