[go: nahoru, domu]

blob: fc21ab67d22042d18d023c69bfa3a0b071120ae7 [file] [log] [blame]
Clara Bayarri73725732020-02-12 18:27:38 +00001/*
2 * Copyright 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package androidx.ui.material.studies.rally
18
Louis Pullen-Freilich4dc4dac2020-07-22 14:39:14 +010019import androidx.compose.ui.graphics.Color
Clara Bayarri73725732020-02-12 18:27:38 +000020
21data class Account(
22 val name: String,
23 val number: Int,
24 val balance: Float,
25 val color: Color
26)
27
28data class Bill(
29 val name: String,
30 val due: String,
31 val amount: Float,
32 val color: Color
33)
34
35object UserData {
36 val accounts: List<Account> = listOf(
37 Account("Checking", 1234, 2215.13f, Color(0xFF005D57)),
38 Account("Home Savings", 5678, 8676.88f, Color(0xFF005D57)),
39 Account("Car Savings", 9012, 987.48f, Color(0xFF04B97F)),
40 Account("Vacation", 3456, 253f, Color(0xFF37EFBA))
41 )
42 val bills: List<Bill> = listOf(
43 Bill("RedPay Credit", "Jan 29", 45.36f, Color(0xFFFFDC78)),
44 Bill("Rent", "Feb 9", 1200f, Color(0xFFFF6951)),
45 Bill("TabFine Credit", "Feb 22", 87.33f, Color(0xFFFFD7D0)),
46 Bill("ABC Loans", "Feb 29", 400f, Color(0xFFFFAC12)),
47 Bill("ABC Loans 2", "Feb 29", 77.4f, Color(0xFFFFAC12))
48 )
49}