APISonar


com.hannesdorfmann.mosby3.sample.mail.mails.MailsAdapterHolders.MailViewHolder.date

> com > hannesdorfmann > mosby3 > sample > mail > mails > MailsAdapterHolders > MailViewHolder > date
com APIs hannesdorfmann APIs mosby3 APIs sample APIs mail APIs mails APIs MailsAdapterHolders APIs MailViewHolder APIs date APIs

Example 1
@Override public void onMailClicked(MailsAdapterHolders.MailViewHolder vh, Mail mail) {

    ActivityOptionsCompat options =
        ActivityOptionsCompat.makeSceneTransitionAnimation(getActivity(),
            Pair.create((View) vh.senderPic, getString(R.string.shared_mail_sender_pic)),
            Pair.create((View) vh.subject, getString(R.string.shared_mail_subject)),
            Pair.create((View) vh.date, getString(R.string.shared_mail_date)),
            Pair.create((View) vh.star, getString(R.string.shared_mail_star)),
            Pair.create(getActivity().findViewById(R.id.toolbar),
                getString(R.string.shared_mail_toolbar)));

    intentStarter.showMailDetails(getActivity(), mail, options.toBundle());
  }