Develop android app which mimics a football fantasy league

Assignment Help JAVA Programming
Reference no: EM133340273

Question: Develop an Android app which mimics a Football Fantasy League. Your application should start with a Login Page. You are free to use the Login Page you created in Assignment 1 and extend the functionality for this assignment. Please use images that you have permissions to use. First screenshot below should be the first Activity of your application.

As soon as user clicks the Login button, your app should be able to check whether user has entered the right email and password combination. For now, please check against email [email protected] and password "1234". If user enters the wrong combination, your app should display an error message on a TextView as shown in the second screenshot above. Please note that on the click of the Login button, the keyboard should be dismissed if the combination is not correct. Please use the following code for dismissing the keyboard:

InputMethodManager imm =(InputMethodManager) getSystemService(Activity.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(InputMethodManager.HIDE_IMPLICIT_ONLY,0);

If the email and password combination is correct, your app should move to a new Activity which shoulduse a customized Toolbar. Please create a toolbar in a separate XML file using<androidx.appcompat.widget.Toolbar>.The toolbar should contain at least 3 components, TextView for name, an ImageView in a circular form for an image and a TextView for points. For now, you can hardcode the values and the image on the toolbar. Your customized toolbar should look something like below:

Add the custom toolbar to the Second Activity which will be shown on the successful login from the First Activity.

The Second Activity should also contain a ListView which has each row customized to show a TextView for serial number, an ImageView for a circular image, a TextView for name and a TextView for score. You are required to create a separate XML file for row layout of the ListView. For now, please hardcode 10 items for each serial number, images, names and scores in Java arrays. Create your own Adapter class that extends from the BaseAdapter class that helps in inflating the row layout into the List View. Your final ListView should look something like below:

Please note that the screenshot above shows only 7 rows, however, your ListView should have at least 10 rows. If your ListView is not showing the last row, please use the following code in your ListView in XML file:

android:paddingBottom="100dp"

Change 100dp to a value that suits your emulator. Below should be the final output of the Second Activity:

Then contain a RecyclerView instead of the ListView. Make sure you fulfill all the requirements of the Recycler View. Below are some of the requirements of this assignment:
• Create a separate MyAdapter class that contains the adapter of RecyclerView.
• Make sure you pass all the arrays containing data for serial, image, name and points from MainActivity.java to MyAdapter.java class (you are free to change the name of the classes and java files if you want).
• Create a Layout using XML file for rows of the RecyclerView (similar to last assignment).
• Override all the required methods for RecyclerView and ViewHolder parent classes.
• Your RecyclerView should contain at least 10 rows and each row should have
o serial (TextView)
o image (ImageView in circular shape)
o name (TextView)
o points (TextView )
• Finally, check for the click events on each of the component of each row of RecyclerView and display an Alert Dialog with corresponding messages. For example, if user clicks on Serial of the player in the Recycler view, an Alert Dialog should appear saying, "You clicked Player Serial". Similarly, if user clicks on the player image in the Recycler view, an Alert Dialog should appear saying, "You clicked Player Image".

Attachment:- Java writeing androd app problem.rar

Reference no: EM133340273

Questions Cloud

Explain how trend analysis of income statement : Explain how trend analysis of the income statement and balance sheet may help to support your conclusions that you present to the board.
What types of promotions or advertisements did they : What were some of the challenges? In your opinion, did AA do enough to help their customers? What types of promotions or advertisements
What is the branding strategy adopted by danone : During the Product development of Light & Free product, which three steps would have played a key role in coming up with flavour choices?
Rosalind company manufactures baby car seats : Rosalind Company manufactures baby car seats. Which of the following is a PERIOD cost? Wages of the janitors in the car seat manufacturing building
Develop android app which mimics a football fantasy league : Develop an Android app which mimics a Football Fantasy League. Your application should start with a Login Page. You are free to use the Login Page
What country should cvs health consider expanding into : What country should CVS Health consider expanding into? What is that potential international market by considering the 4 aspects of the diamond of national
Discuss accounting equation considering the statement : Discuss the accounting equation considering the statement provided.
What is entrepreneurial marketing plan : What is Entrepreneurial marketing plan. What parts of the marketing plan components is easiest to gather? What components are harder to compile?
Determine the motivations behind the decision to sign up : Determine the motivations behind the decision to sign up for the 30- -day free trial of Spotify? (i. e. Why did they choose a Spotify subscription over others

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd