Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.appku.myfilmkatalog;
- import java.util.ArrayList;
- public class DataFilm{
- public static String[][] data_film = new String[][]{
- {"Bohemian Rapsody","02 November 2018",
- "https://image.tmdb.org/t/p/w600_and_h900_bestv2/lHu1wtNaczFPGFDTrjCSzeLPTKN.jpg",
- "Singer Freddie Mercury, guitarist Brian May, drummer Roger Taylor and bass" +
- " guitarist John Deacon take the music world by storm when they form the" +
- " rock 'n' roll band Queen in 1970. Hit songs become instant classics. " +
- "When Mercury's increasingly wild lifestyle starts to spiral out of " +
- "control, Queen soon faces its greatest challenge yet – finding a way to" +
- " keep the band together amid the success and excess.","Bryan Singer",
- "English", "Rami Malek as Freddie Mercury\nGwilym Lee as Brian May\nBen Hardy as" +
- " Roger Taylor\nJoseph Mazzello as John Deacon\nLucy Boynton as Mary Austin","2 " +
- "jam 15 menit","Drama\nMusic"
- },
- {"Ant Man and The Wasp","06 Juli 2018",
- "https://image.tmdb.org/t/p/w600_and_h900_bestv2/eivQmS3wqzqnQWILHLc4FsEfcXP.jpg",
- "Just when his time under house arrest is about to end, Scott Lang once again " +
- "puts his freedom at risk to help Hope van Dyne and Dr. Hank Pym dive " +
- "into the quantum realm and try to accomplish, against time and any " +
- "chance of success, a very dangerous rescue mission.","Peyton Reed",
- "English","Paul Rudd as Scott Lang/Ant-Man\nEvangeline Lilly as Hope van Dyne/Wasp" +
- "\nMichael Peña as Luis\nWalton Goggins as Sonny Burch\nBobby Cannavale as Paxton",
- "1 Jam 59 menit","Action\nComedy\nSci-Fi\nAdventure"
- },
- {"Bumblebee","21 Desember 2018",
- "https://image.tmdb.org/t/p/w600_and_h900_bestv2/fw02ONlDhrYjTSZV8XO6hhU3ds3.jpg",
- "On the run in the year 1987, Bumblebee finds refuge in a junkyard in a small " +
- "Californian beach town. Charlie, on the cusp of turning 18 and trying " +
- "to find her place in the world, discovers Bumblebee, battle-scarred and" +
- " broken. When Charlie revives him, she quickly learns this is no " +
- "ordinary yellow VW bug.","Travis Knight","English","Hailee Steinfeld " +
- "as Charlie Watson\nJorge Lendeborg Jr.as Memo\nJohn Cena as Agent Jack Burns\n" +
- "Jason Ian Drucker as Otis Watson\nPamela Adlon as Sally Watson","1 jam 54 menit",
- "Action\nSci-Fi\nAdventure"
- }};
- public static ArrayList<ParcelFilm> getListData() {
- ParcelFilm parcelFilm = null;
- ArrayList<ParcelFilm> daftar = new ArrayList<>();
- for (int y=0;y<data_film.length;y++){
- parcelFilm = new ParcelFilm();
- parcelFilm.setNama_film(data_film[y][0]);
- parcelFilm.setTanggal_rilis(data_film[y][1]);
- parcelFilm.setPoster_film(data_film[y][2]);
- parcelFilm.setDeskripsi(data_film[y][3]);
- parcelFilm.setSutradara(data_film[y][4]);
- parcelFilm.setBahasa(data_film[y][5]);
- parcelFilm.setPemeran(data_film[y][6]);
- parcelFilm.setDurasi(data_film[y][7]);
- parcelFilm.setGenre(data_film[y][8]);
- }
- return daftar;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement