@TargetApi(Build.VERSION_CODES.N) private static void createInlineReply( Context ctx, NotificationCompat.Builder builder, NotificationEntity entity) { RemoteInput remoteInput = new RemoteInput.Builder(Constants.EXTRA_COMMENT) .setLabel(ctx.getString(R.string.change_details_review_hint)) .setAllowFreeFormInput(true) .build(); NotificationCompat.Action action = new NotificationCompat.Action.Builder( R.drawable.ic_send, ctx.getString(R.string.action_reply), getReplyPendingIntent(ctx, entity)) .addRemoteInput(remoteInput) .setAllowGeneratedReplies(false) .build(); builder.addAction(action); }
replyIcon, context.getString(R.string.action_reply), replyIntent) .addRemoteInput(new RemoteInput.Builder(NotificationActionReceiver.KEY_REPLY_TEXT) .setLabel(context.getString(R.string.action_reply)) .build()) .build();
RemoteInput remoteInput = new RemoteInput.Builder(BigPictureSocialIntentService.EXTRA_COMMENT) .setLabel(replyLabel) .setChoices(bigPictureStyleSocialAppData.getPossiblePostResponses()) .build();
.setLabel(replyLabel)
RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY) .setLabel(replyLabel)
RemoteInput remoteInput = new RemoteInput.Builder(BigPictureSocialIntentService.EXTRA_COMMENT) .setLabel(replyLabel)
.setLabel(replyLabel)
RemoteInput remoteInput = new RemoteInput.Builder(BigPictureSocialIntentService.EXTRA_COMMENT) .setLabel(replyLabel)
RemoteInput remoteInput = new RemoteInput.Builder(MessagingIntentService.EXTRA_REPLY) .setLabel(replyLabel)
RemoteInput remoteInput = new RemoteInput.Builder(BigPictureSocialIntentService.EXTRA_COMMENT) .setLabel(replyLabel) .setChoices(bigPictureStyleSocialAppData.getPossiblePostResponses()) .build();