Skip to content

Instantly share code, notes, and snippets.

View aroranubhav's full-sized avatar
👨‍💻

Anubhav Arora aroranubhav

👨‍💻
View GitHub Profile
@aroranubhav
aroranubhav / Data.kt
Created August 19, 2023 05:49 — forked from florina-muntenescu/Data.kt
Using RoomDatabase#Callback to pre-populate the database - https://medium.com/google-developers/7-pro-tips-for-room-fbadea4bfbd1
/*
* Copyright (C) 2017 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