Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this assignment, you will create a movie application where users can explore movies based on different genres. For example, users can select comedy and

In this assignment, you will create a movie application where users can explore movies based on
different genres. For example, users can select "comedy" and view a list of comedy movies. You have
the freedom to choose any genre for this assignment. While you have the flexibility to select your
favorite color for the application, all layout and functionalities should remain consistent with the
provided video demonstration.
Part 1: Create MainActivity and Movies List Fragment (30 points)
Develop a list fragment to showcase the chosen movies. Users should be able to select any movie from
the list by clicking on the item. Customize the text color and style within the list, and change the
background color of the list item. Ensure that the selected list item is highlighted when clicked.
Part 2: Fragments in Pager Viewer (30 points)
Create two fragments: Poster and Description. Users can navigate through these fragments by clicking
on the tabs at the top or by swiping right or left. The poster fragment should display the poster of the
selected movie, while the description fragment should include details such as the movie's name, brief
description, director, and stars.
Ensure that when a user selects a different movie item from the movie list fragment, the current
fragment in the pager viewer (the current tab) is immediately refreshed.
Part 3: Movie Genres Options from Menu (30 points)
Implement a menu for users to select different genres. Provide at least three genres for users to choose
from. Ensure that all fragments (poster and description) are promptly refreshed when the genre is
changed. Additionally, ensure that the first item is selected by default when switching to a new genre.
Part 4: Handle Landscape (10 points)
Ensure that the application's functionality remains consistent in landscape mode. Refer to the provided
video demonstration for the landscape layout, and ensure that the current user-selected item is
retained.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions