[go: nahoru, domu]

blob: fc21ab67d22042d18d023c69bfa3a0b071120ae7 [file] [log] [blame]
/*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.ui.material.studies.rally
import androidx.compose.ui.graphics.Color
data class Account(
val name: String,
val number: Int,
val balance: Float,
val color: Color
)
data class Bill(
val name: String,
val due: String,
val amount: Float,
val color: Color
)
object UserData {
val accounts: List<Account> = listOf(
Account("Checking", 1234, 2215.13f, Color(0xFF005D57)),
Account("Home Savings", 5678, 8676.88f, Color(0xFF005D57)),
Account("Car Savings", 9012, 987.48f, Color(0xFF04B97F)),
Account("Vacation", 3456, 253f, Color(0xFF37EFBA))
)
val bills: List<Bill> = listOf(
Bill("RedPay Credit", "Jan 29", 45.36f, Color(0xFFFFDC78)),
Bill("Rent", "Feb 9", 1200f, Color(0xFFFF6951)),
Bill("TabFine Credit", "Feb 22", 87.33f, Color(0xFFFFD7D0)),
Bill("ABC Loans", "Feb 29", 400f, Color(0xFFFFAC12)),
Bill("ABC Loans 2", "Feb 29", 77.4f, Color(0xFFFFAC12))
)
}