LeanbackShowcase/app/src/main/java/androidx/leanback/leanbackshowcase/app/room/di/listener/ListenerModule.java [71:92]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                Intent intent;
                Long videoItemId = ((VideoEntity) item).getId();
                intent = new Intent(currentActivity, LiveDataDetailActivity.class);
                intent.putExtra(LiveDataDetailActivity.VIDEO_ID, videoItemId);

                VideoEntity cachedBundle = (VideoEntity) item;

                intent.putExtra(LiveDataDetailActivity.CACHED_CONTENT, cachedBundle);

                // enable the scene transition animation when the detail's activity is launched
                Bundle bundle = ActivityOptionsCompat.makeSceneTransitionAnimation(
                        currentActivity,
                        ((ImageCardView) itemViewHolder.view).getMainImageView(),
                        LiveDataDetailActivity.SHARED_ELEMENT_NAME).toBundle();
                currentActivity.startActivity(intent, bundle);
            }
        };
    }

    @PerFragment
    @Provides
    @IntoMap
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



LeanbackShowcase/app/src/main/java/androidx/leanback/leanbackshowcase/app/room/di/listener/ListenerModule.java [101:123]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    Intent intent;
                    Long videoItemId = ((VideoEntity) item).getId();
                    intent = new Intent(currentActivity, LiveDataDetailActivity.class);
                    intent.putExtra(LiveDataDetailActivity.VIDEO_ID, videoItemId);

                    VideoEntity cachedBundle = (VideoEntity) item;

                    intent.putExtra(LiveDataDetailActivity.CACHED_CONTENT, cachedBundle);

                    // enable the scene transition animation when the detail's activity is launched
                    Bundle bundle = ActivityOptionsCompat.makeSceneTransitionAnimation(
                            currentActivity,
                            ((ImageCardView) itemViewHolder.view).getMainImageView(),
                            LiveDataDetailActivity.SHARED_ELEMENT_NAME).toBundle();
                    currentActivity.startActivity(intent, bundle);
                }
            }
        };
    }

    @PerFragment
    @Provides
    @IntoMap
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



