Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import {Dimensions, FlatList, View} from 'react-native';
- const data = [
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2084',
- id: '136',
- name: '10cc',
- songCount: '10',
- userRating: '0',
- artist: '10cc',
- artistId: '3',
- coverArt: '152',
- year: '1973',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2549',
- id: '32',
- name: 'How Dare You!',
- songCount: '9',
- userRating: '0',
- artist: '10cc',
- artistId: '3',
- coverArt: '40',
- year: '1989',
- genre: 'Rock, Art Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2678',
- id: '43',
- name: 'Ten Out of 10',
- songCount: '10',
- userRating: '0',
- artist: '10cc',
- artistId: '3',
- coverArt: '53',
- year: '1982',
- genre: 'Progressive rock, art rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2704',
- id: '58',
- name: 'Look Hear?',
- songCount: '11',
- userRating: '0',
- artist: '10cc',
- artistId: '3',
- coverArt: '70',
- year: '1980',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2250',
- id: '10',
- name: 'Sheet Music',
- songCount: '10',
- userRating: '0',
- artist: '10cc',
- artistId: '3',
- coverArt: '11',
- year: '1990',
- genre: 'Rock, Art rock, progressive pop soft rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2516',
- id: '83',
- name: 'Windows in the Jungle',
- songCount: '8',
- userRating: '0',
- artist: '10cc',
- artistId: '3',
- coverArt: '96',
- year: '1983',
- genre: 'art rock,soft rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '1428',
- id: '77',
- name: 'Live in Concert',
- songCount: '4',
- userRating: '0',
- artist: '10cc',
- artistId: '3',
- coverArt: '89',
- year: '1982',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2515',
- id: '4',
- name: 'The Original Soundtrack',
- songCount: '8',
- userRating: '0',
- artist: '10cc',
- artistId: '3',
- coverArt: '5',
- year: '1998',
- genre: 'Soft Rock,Pop Rock, Classic Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2298',
- id: '76',
- name: 'Live and Let Live',
- songCount: '6',
- userRating: '0',
- artist: '10cc',
- artistId: '3',
- coverArt: '89',
- year: '1977',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2410',
- id: '6',
- name: 'Deceptive Bends',
- songCount: '9',
- userRating: '0',
- artist: '10cc',
- artistId: '3',
- coverArt: '7',
- year: '1977',
- genre: 'Rock, Art Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2174',
- id: '21',
- name: 'Stranger Than Fiction',
- songCount: '11',
- userRating: '0',
- artist: '9th Corner',
- artistId: '15',
- coverArt: '29',
- year: '2008',
- genre: 'Metal',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2693',
- id: '71',
- name: 'Bring The Pain',
- songCount: '12',
- userRating: '0',
- artist: 'ABstraXT',
- artistId: '38',
- coverArt: '84',
- year: '2003',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2527',
- id: '42',
- name: 'Next Victim',
- songCount: '10',
- userRating: '0',
- artist: 'ABstraXT',
- artistId: '38',
- coverArt: '52',
- year: '2006',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2462',
- id: '115',
- name: "Vivaldi's The Four Seasons",
- songCount: '12',
- userRating: '0',
- artist: 'Antonio Vivaldi',
- artistId: '83',
- coverArt: '130',
- year: '2002',
- genre: 'Classical',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2273',
- id: '131',
- name: '2nd Street',
- songCount: '9',
- userRating: '0',
- artist: 'Back Street Crawler',
- artistId: '91',
- coverArt: '147',
- year: '2004',
- genre: 'Rock; Hard Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2176',
- id: '1',
- name: 'Third Stage',
- songCount: '10',
- userRating: '0',
- artist: 'Boston',
- artistId: '1',
- coverArt: '2',
- year: '1993',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2619',
- id: '30',
- name: 'Boz Scaggs',
- songCount: '9',
- userRating: '0',
- artist: 'Boz Scaggs',
- artistId: '30',
- coverArt: '38',
- year: '1969',
- genre: 'Pop; Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4407',
- id: '75',
- name: 'Tago Mago',
- songCount: '7',
- userRating: '0',
- artist: 'Can',
- artistId: '60',
- coverArt: '88',
- year: '2004',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '3095',
- id: '20',
- name: 'Mood Swingz',
- songCount: '16',
- userRating: '0',
- artist: 'Capitol Eye',
- artistId: '14',
- coverArt: '28',
- year: '2001',
- genre: 'Pop; Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '6236',
- id: '37',
- name: 'Fandangos In Space / Dancing On A Cold Wind',
- songCount: '27',
- userRating: '0',
- artist: 'Carmen',
- artistId: '34',
- coverArt: '46',
- year: '2006',
- genre: 'Pop; Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2762',
- id: '49',
- name: 'Space Oddity',
- songCount: '10',
- userRating: '0',
- artist: 'David Bowie',
- artistId: '6',
- coverArt: '59',
- year: '1969',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2314',
- id: '9',
- name: 'The Rise and Fall of Ziggy Stardust and the Spiders From Mars',
- songCount: '11',
- userRating: '0',
- artist: 'David Bowie',
- artistId: '6',
- coverArt: '10',
- year: '1999',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-16T19:33:41Z',
- duration: '2862',
- id: '139',
- name: 'Deep Purple',
- songCount: '10',
- userRating: '0',
- artist: 'Deep Purple',
- artistId: '97',
- coverArt: '153',
- year: '2000',
- genre: 'Rock',
- playCount: '12',
- },
- {
- averageRating: '0',
- created: '2020-02-16T19:33:41Z',
- duration: '423',
- id: '137',
- name: 'Layla And Other Assorted Love Songs (Super Deluxe Edition)',
- songCount: '1',
- userRating: '0',
- artist: 'Derek & The Dominos',
- artistId: '95',
- coverArt: '1',
- year: '2011',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '1412',
- id: '82',
- name: 'Dirty Honey',
- songCount: '6',
- userRating: '0',
- artist: 'Dirty Honey',
- artistId: '64',
- coverArt: '95',
- year: '2019',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4626',
- id: '84',
- name: 'Metropolis, Pt. 2: Scenes From a Memory',
- songCount: '12',
- userRating: '0',
- artist: 'Dream Theater',
- artistId: '66',
- coverArt: '97',
- year: '1999',
- genre: 'Metal',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2579',
- id: '85',
- name: 'White Trash',
- songCount: '10',
- userRating: '0',
- artist: "Edgar Winter's White Trash",
- artistId: '68',
- coverArt: '98',
- year: '1997',
- genre: 'Pop; Rock; Blues; Hard Rock; Rock & Roll/Rockabilly',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2507',
- id: '129',
- name: 'Once Upon a Time in South America',
- songCount: '6',
- userRating: '0',
- artist: 'Emerson',
- artistId: '90',
- coverArt: '145',
- year: '2017',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2481',
- id: '130',
- name: 'Once Upon a Time in South America',
- songCount: '9',
- userRating: '0',
- artist: 'Emerson',
- artistId: '90',
- coverArt: '146',
- year: '2017',
- genre: 'Rock',
- playCount: '18',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '7044',
- id: '95',
- name: 'Brain Salad Surgery',
- songCount: '21',
- userRating: '0',
- artist: 'Emerson, Lake & Palmer',
- artistId: '75',
- coverArt: '109',
- year: '2016',
- genre: 'Rock; Indie Rock/Rock Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2712',
- id: '70',
- name: 'Earth Omen',
- songCount: '11',
- userRating: '0',
- artist: 'Frijid Pink',
- artistId: '58',
- coverArt: '83',
- year: '1995',
- genre: 'Alternative; Indie Rock; Pop; Rock; Blues; Hard Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '3242',
- id: '113',
- name: 'Maggot Brain',
- songCount: '10',
- userRating: '0',
- artist: 'Funkadelic',
- artistId: '80',
- coverArt: '128',
- year: '2005',
- genre: 'R&B',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '3214',
- id: '90',
- name: 'Selling England by the Pound',
- songCount: '8',
- userRating: '0',
- artist: 'Genesis',
- artistId: '71',
- coverArt: '104',
- year: '1994',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2051',
- id: '78',
- name: 'Octopus',
- songCount: '8',
- userRating: '0',
- artist: 'Gentle Giant',
- artistId: '62',
- coverArt: '90',
- year: '2007',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2743',
- id: '114',
- name: 'Suspiria',
- songCount: '12',
- userRating: '0',
- artist: 'Goblin',
- artistId: '82',
- coverArt: '129',
- year: '1997',
- genre:
- 'Classical; Pop; International Pop; Rock; Hard Rock; Films/Games; Film Scores; Soundtracks',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '3161',
- id: '72',
- name: 'Jess and the Ancient Ones',
- songCount: '7',
- userRating: '0',
- artist: 'Jess and the Ancient Ones',
- artistId: '59',
- coverArt: '85',
- year: '2012',
- genre: 'Rock; Hard Rock; Metal',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2066',
- id: '117',
- name: 'The Horse and Other Weird Tales',
- songCount: '9',
- userRating: '0',
- artist: 'Jess and the Ancient Ones',
- artistId: '59',
- coverArt: '132',
- year: '2017',
- genre: 'Rock; Hard Rock; Metal',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2681',
- id: '111',
- name: 'Aqualung',
- songCount: '14',
- userRating: '0',
- artist: 'Jethro Tull',
- artistId: '35',
- coverArt: '126',
- year: '2011',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2605',
- id: '110',
- name: 'Aqualung',
- songCount: '11',
- userRating: '0',
- artist: 'Jethro Tull',
- artistId: '35',
- coverArt: '125',
- year: '2011',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4637',
- id: '38',
- name: 'The Anniversary Collection',
- songCount: '19',
- userRating: '0',
- artist: 'Jethro Tull',
- artistId: '35',
- coverArt: '48',
- year: '1990',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4504',
- id: '39',
- name: 'The Anniversary Collection',
- songCount: '17',
- userRating: '0',
- artist: 'Jethro Tull',
- artistId: '35',
- coverArt: '49',
- year: '1990',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '1613',
- id: '66',
- name: 'Good Men Stand Together',
- songCount: '8',
- userRating: '0',
- artist: 'Jugganote',
- artistId: '56',
- coverArt: '79',
- year: '2009',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '1435',
- id: '65',
- name: 'The Hold Up - EP',
- songCount: '8',
- userRating: '0',
- artist: 'Jugganote',
- artistId: '56',
- coverArt: '78',
- year: '2008',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4465',
- id: '80',
- name: 'Gold',
- songCount: '20',
- userRating: '0',
- artist: 'KISS',
- artistId: '63',
- coverArt: '93',
- year: '2005',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4624',
- id: '79',
- name: 'Gold',
- songCount: '20',
- userRating: '0',
- artist: 'KISS',
- artistId: '63',
- coverArt: '92',
- year: '2005',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '3249',
- id: '132',
- name: 'Point of Know Return',
- songCount: '12',
- userRating: '0',
- artist: 'Kansas',
- artistId: '92',
- coverArt: '148',
- year: '2002',
- genre: 'Pop; Rock; Indie Rock/Rock Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-16T20:50:04Z',
- duration: '3077',
- id: '141',
- name: 'Twilight Cruiser',
- songCount: '12',
- userRating: '0',
- artist: 'Kingdom Come',
- artistId: '99',
- coverArt: '154',
- year: '1995',
- genre: 'Pop; Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2674',
- id: '34',
- name: 'I',
- songCount: '9',
- userRating: '0',
- artist: 'Led Zeppelin',
- artistId: '33',
- coverArt: '42',
- year: '1969',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2551',
- id: '92',
- name: '[Led Zeppelin IV]',
- songCount: '8',
- userRating: '0',
- artist: 'Led Zeppelin',
- artistId: '33',
- coverArt: '106',
- year: '1974',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '1527',
- id: '133',
- name: 'Mozart: Sinfonia No. 40',
- songCount: '4',
- userRating: '0',
- artist: 'London Philarmonic Orchestra, Alfred Scholtz',
- artistId: '93',
- coverArt: '149',
- year: '2013',
- genre: 'Classical',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2008',
- id: '119',
- name: 'Luciferian Light Orchestra',
- songCount: '9',
- userRating: '0',
- artist: 'Luciferian Light Orchestra',
- artistId: '85',
- coverArt: '134',
- year: '2015',
- genre: 'Rock; Indie Rock/Rock Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2327',
- id: '33',
- name: 'Mekanïk Destruktïẁ Kommandöh',
- songCount: '7',
- userRating: '0',
- artist: 'Magma',
- artistId: '32',
- coverArt: '41',
- year: '1991',
- genre: 'Jazz; Pop; Rock; Indie Rock/Rock Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '1488',
- id: '100',
- name: 'The $5.98 E.P.: Garage Days Re-Revisited',
- songCount: '5',
- userRating: '0',
- artist: 'Metallica',
- artistId: '36',
- coverArt: '114',
- year: '2018',
- genre: 'Metal',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2841',
- id: '47',
- name: 'Ride the Lightning',
- songCount: '8',
- userRating: '0',
- artist: 'Metallica',
- artistId: '36',
- coverArt: '57',
- year: '2000',
- genre: 'Metal',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '3744',
- id: '89',
- name: 'Metallica',
- songCount: '12',
- userRating: '0',
- artist: 'Metallica',
- artistId: '36',
- coverArt: '103',
- year: '2008',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '3922',
- id: '101',
- name: '...and Justice for All',
- songCount: '9',
- userRating: '0',
- artist: 'Metallica',
- artistId: '36',
- coverArt: '115',
- year: '1988',
- genre: 'Metal',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '4556',
- id: '121',
- name: 'Reload',
- songCount: '13',
- userRating: '0',
- artist: 'Metallica',
- artistId: '36',
- coverArt: '136',
- year: '2003',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '3970',
- id: '87',
- name: 'S&M',
- songCount: '10',
- userRating: '0',
- artist: 'Metallica',
- artistId: '36',
- coverArt: '101',
- year: '1999',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4015',
- id: '86',
- name: 'S&M',
- songCount: '11',
- userRating: '0',
- artist: 'Metallica',
- artistId: '36',
- coverArt: '100',
- year: '1999',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '3284',
- id: '40',
- name: 'Master of Puppets',
- songCount: '8',
- userRating: '0',
- artist: 'Metallica',
- artistId: '36',
- coverArt: '50',
- year: '2016',
- genre: 'Metal',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '3069',
- id: '124',
- name: "Kill 'em All",
- songCount: '10',
- userRating: '0',
- artist: 'Metallica',
- artistId: '36',
- coverArt: '139',
- year: '1983',
- genre: 'Metal',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '3366',
- id: '81',
- name: 'Tubular Bells',
- songCount: '4',
- userRating: '0',
- artist: 'Mike Oldfield',
- artistId: '28',
- coverArt: '94',
- year: '2015',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '1483',
- id: '112',
- name: 'Hergest Ridge (Single Disc Version)',
- songCount: '3',
- userRating: '0',
- artist: 'Mike Oldfield',
- artistId: '28',
- coverArt: '127',
- year: '2010',
- genre: 'Pop; Rock; Indie Rock/Rock Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2723',
- id: '91',
- name: 'Music of the Spheres',
- songCount: '14',
- userRating: '0',
- artist: 'Mike Oldfield',
- artistId: '28',
- coverArt: '105',
- year: '2008',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2192',
- id: '94',
- name: 'Incantations',
- songCount: '2',
- userRating: '0',
- artist: 'Mike Oldfield',
- artistId: '28',
- coverArt: '108',
- year: '1978',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2418',
- id: '125',
- name: 'Incantations (2011 Remastered Version)',
- songCount: '3',
- userRating: '0',
- artist: 'Mike Oldfield',
- artistId: '28',
- coverArt: '140',
- year: '2011',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '1161',
- id: '27',
- name: 'Hergest Ridge',
- songCount: '1',
- userRating: '0',
- artist: 'Mike Oldfield',
- artistId: '28',
- coverArt: '35',
- year: '2010',
- genre: 'Pop; Rock; Indie Rock/Rock Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '3902',
- id: '99',
- name: 'Supersonic and Demonic Relics',
- songCount: '15',
- userRating: '0',
- artist: 'Mötley Crüe',
- artistId: '76',
- coverArt: '113',
- year: '1999',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2322',
- id: '127',
- name: 'Scheherazade',
- songCount: '4',
- userRating: '0',
- artist: 'Nikolai Rimsky-Korsakov',
- artistId: '88',
- coverArt: '142',
- year: '2011',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4846',
- id: '31',
- name: 'The Wall',
- songCount: '26',
- userRating: '0',
- artist: 'Pink Floyd',
- artistId: '31',
- coverArt: '39',
- year: '1979',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2568',
- id: '123',
- name: 'The Dark Side of the Moon',
- songCount: '10',
- userRating: '0',
- artist: 'Pink Floyd',
- artistId: '31',
- coverArt: '138',
- year: '2016',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2299',
- id: '103',
- name: 'Sound of the Wind',
- songCount: '10',
- userRating: '0',
- artist: 'Psychedelic Witchcraft',
- artistId: '77',
- coverArt: '117',
- year: '2017',
- genre: 'Rock; Hard Rock; Metal',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2329',
- id: '109',
- name: 'Sheer Heart Attack',
- songCount: '13',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '123',
- year: '1986',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2428',
- id: '36',
- name: 'A Kind of Magic',
- songCount: '9',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '45',
- year: '2012',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2133',
- id: '48',
- name: 'The Game',
- songCount: '10',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '58',
- year: '1980',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2610',
- id: '50',
- name: 'Hot Space',
- songCount: '11',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '61',
- year: '1986',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2102',
- id: '54',
- name: 'Flash Gordon',
- songCount: '18',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '66',
- year: '2004',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2351',
- id: '122',
- name: 'News of the World',
- songCount: '11',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '137',
- year: '2013',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2471',
- id: '62',
- name: 'The Miracle',
- songCount: '10',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '75',
- year: '2012',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2579',
- id: '68',
- name: 'A Night at the Opera',
- songCount: '12',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '81',
- year: '1975',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4220',
- id: '74',
- name: 'Made in Heaven',
- songCount: '13',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '87',
- year: '1995',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2437',
- id: '5',
- name: 'Queen II',
- songCount: '11',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '6',
- year: '1974',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2228',
- id: '116',
- name: 'The Works',
- songCount: '9',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '131',
- year: '1984',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '3225',
- id: '96',
- name: 'Innuendo (2011 Remaster)',
- songCount: '12',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '110',
- year: '2011',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2652',
- id: '98',
- name: 'A Day at the Races',
- songCount: '10',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '112',
- year: '2011',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2319',
- id: '104',
- name: 'Queen (2011 Remaster)',
- songCount: '10',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '118',
- year: '2011',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2675',
- id: '108',
- name: 'Jazz (2011 Remaster)',
- songCount: '13',
- userRating: '0',
- artist: 'Queen',
- artistId: '4',
- coverArt: '122',
- year: '2011',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4094',
- id: '59',
- name: 'Operation: Mindcrime',
- songCount: '17',
- userRating: '0',
- artist: 'Queensrÿche',
- artistId: '52',
- coverArt: '72',
- year: '2006',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '3779',
- id: '60',
- name: 'Operation: Mindcrime',
- songCount: '15',
- userRating: '0',
- artist: 'Queensrÿche',
- artistId: '52',
- coverArt: '73',
- year: '2006',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '3164',
- id: '69',
- name: 'Rage Against the Machine',
- songCount: '10',
- userRating: '0',
- artist: 'Rage Against the Machine',
- artistId: '57',
- coverArt: '82',
- year: '1992',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2676',
- id: '12',
- name: 'A Song for All Seasons',
- songCount: '8',
- userRating: '0',
- artist: 'Renaissance',
- artistId: '10',
- coverArt: '13',
- year: '2001',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2746',
- id: '120',
- name: 'Scheherazade and Other Stories',
- songCount: '4',
- userRating: '0',
- artist: 'Renaissance',
- artistId: '10',
- coverArt: '135',
- year: '1994',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '9043',
- id: '29',
- name: 'Novella (Remastered & Expanded Edition)',
- songCount: '16',
- userRating: '0',
- artist: 'Renaissance',
- artistId: '10',
- coverArt: '37',
- year: '1977',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2773',
- id: '67',
- name: 'Renaissance',
- songCount: '7',
- userRating: '0',
- artist: 'Renaissance',
- artistId: '10',
- coverArt: '80',
- year: '2005',
- genre: 'Pop; Indie Pop/Folk; Folk',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '2399',
- id: '63',
- name: 'Moving Pictures: Live 2011',
- songCount: '7',
- userRating: '0',
- artist: 'Rush',
- artistId: '54',
- coverArt: '76',
- year: '2011',
- genre: 'Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4112',
- id: '55',
- name: 'Beethoven: Symphony No. 9',
- songCount: '11',
- userRating: '0',
- artist: 'Seiji Ozawa',
- artistId: '46',
- coverArt: '67',
- year: '2019',
- genre: 'Classical',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '3592',
- id: '105',
- name: 'Greatest Hits Of Shocking Blue',
- songCount: '20',
- userRating: '0',
- artist: 'Shocking Blue',
- artistId: '78',
- coverArt: '119',
- year: '1975',
- genre: 'Pop',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:32:25Z',
- duration: '2618',
- id: '106',
- name: 'As The World Burns',
- songCount: '11',
- userRating: '0',
- artist: 'Shuvel',
- artistId: '79',
- coverArt: '120',
- year: '2009',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '1723',
- id: '17',
- name: 'Parsley, Sage, Rosemary and Thyme [Sundazed LP]',
- songCount: '12',
- userRating: '0',
- artist: 'Simon & Garfunkel',
- artistId: '12',
- coverArt: '22',
- year: '1966',
- genre: 'Folk/Rock',
- playCount: '0',
- },
- {
- averageRating: '0',
- created: '2020-02-15T20:31:56Z',
- duration: '4717',
- id: '14',
- name: 'The Concert In Central Park (Japan Vinyl 24-96)',
- songCount: '19',
- userRating: '0',
- artist: 'Simon & Garfunkel',
- artistId: '12',
- coverArt: '16',
- year: '1982',
- genre: 'Folk-Rock',
- playCount: '0',
- },
- ];
- const screenWidth = Math.round(Dimensions.get('window').width);
- function keyExtractor(item) {
- return item.id;
- }
- function renderItem({item}) {
- console.log(`Rendering item ${item.id}...`);
- return (
- <View
- style={{
- width: screenWidth / 3,
- height: screenWidth / 3,
- backgroundColor: 'red',
- borderColor: 'black',
- borderStyle: 'dotted',
- borderWidth: 10,
- }}
- />
- );
- }
- const AlbumsScreen = () => {
- return (
- <FlatList
- data={data}
- renderItem={renderItem}
- numColumns={3}
- keyExtractor={keyExtractor}
- />
- );
- };
- export default AlbumsScreen;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement