コード例 #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
 @Override
 public void onBackPressed() {
   super.onBackPressed();
   overridePendingTransition(0, R.anim.up2down_exit);
 }