ViewFlipper dentro de Remoteview showNext () y showPrevious () no funciona

Estoy trabajando en un proyecto donde necesito usar la vista de ViewFlipper dentro de Remoteview en la barra de la notificación. Actualmente estoy enfrentando problemas con un showNext () y showPreview (). Pero, por desgracia, showNext () y showPreview () no se llaman cuando llamo al botón. También estoy publicando mi código para su referencia. Por favor, ayúdame donde estoy cometiendo error y corrija si mi pregunta no está clara.

private Notification setCustomViewNotification() { // Creates an explicit intent for an ResultActivity to receive. Intent resultIntent = new Intent(this, ResultActivity.class); // This ensures that the back button follows the recommended convention for the back key. TaskStackBuilder stackBuilder = TaskStackBuilder.create(this); // Adds the back stack for the Intent (but not the Intent itself) stackBuilder.addParentStack(ResultActivity.class); // Adds the Intent that starts the Activity to the top of the stack. stackBuilder.addNextIntent(resultIntent); PendingIntent resultPendingIntent = stackBuilder.getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT); // Create remote view and set bigContentView. expandedView = new RemoteViews(this.getPackageName(), R.layout.notification_viewflipper); // expandedView.set(R.id.text_view, "Neat logo!"); expandedView.setOnClickPendingIntent(R.id.img_left,getPendingSelfIntent(MainActivity.this, IMAGE_LEFT)); expandedView.setOnClickPendingIntent(R.id.img_right,getPendingSelfIntent(MainActivity.this, IMAGE_RIGHT)); Notification notification = new NotificationCompat.Builder(this) .setSmallIcon(R.drawable.ic_launcher) .setAutoCancel(true) .setContentIntent(resultPendingIntent) .setContentTitle("Custom View").build(); notification.bigContentView = expandedView; return notification; } 

así que cuando se dispara un evento de clic, tengo que cambiar los elementos de ViewFlipper. El siguiente es el código donde me quedé completamente.

 public void onEvent(ViewFlipperClickEvent event){ if(event.getTag().equals(MainActivity.IMAGE_LEFT)){ expandedView.showPrevious(R.id.ViewFlipper01); }else if(event.getTag().equals(MainActivity.IMAGE_RIGHT)){ expandedView.showNext(R.id.ViewFlipper01); } } 

Gracias por adelantado

FlipAndroid es un fan de Google para Android, Todo sobre Android Phones, Android Wear, Android Dev y Aplicaciones para Android Aplicaciones.