Implementing Android Room Persistence Library to Finish off My Budget App

Vedant mamgain
Nov 7 · 3 min read

Given how lavishly I spend my money and how time and again I find myself being broke just before a adversity hits , sick of it I finally decided to put my Android Skills to good use and make a budgeting app for myself. I later intend to publish this in the Play Store as well. In the session today I intend to implement Android Room Library and be done with local database for my app for now. I decided to have a replica of my data in Room and Firebase as well.

The preview of the Budget App that is in the making
Entry -1: Just setting up the Layout of the Alert Box action from the Fab Button

Entry 1- It is 9:39 PM rn in CC about to start today’s session. I skipped today’s EDM Night pretty sure my friends are having a great time. Think I’m ill, we’ll see. Trying to implement some spinners

10:06-Finally got the spinner to be working.Handy Tip to never forget when dealing with Alert Dialog always initialize and inflate it inside the dialog view. I still need to get the text view to change it’s color when selected we’ll see that later. Off to implementing Room.

Finally the Spinner is working

10:24 pm- Pretty much done with setting up the initial setup of the Database.I will take a short break and will start with inserting items into my database.

10:51pm -K back to working.I was watching a video about Hollywood Couples who make us believe in True Love.The fuck is wrong with me.

11:15pm-Seeing me work on Android Studio the guy sitting next to me asked in his Broken hindi .”CSE ka ho”. Naah ECE (Internally crying) I replied

11:25pm-I have ditched the positive and negative button provided by the Dialog Object(Can’t seem to get the onClickListener working). Duck that made my own buttons.

11:42pm-Just got done resolving an error. Ducking made me leave the thing all together.Turns out silly typing mistakes..transactions as Transactions.Turns out it is a libr0ary in Room hence imported the wrong thing and didn’t even notify me.

12:07am-The app is finally saving data.

The Card View UI looks shit I know Give me some time

12:51am-Wooohoo The App is finally saving and fetching data.Time to add the update and delete functionality

Soak youself in the perfection of this album meanwhile

1:04 am- I have decided to go for some cosmetic changes for now and deal with updating the notes for later as of right now.Time for a Coffee Break I guess.

1:43 AM-That’s it for the day I guess.I did what I assigned myself to-do.I’ll make the Firebase database and the cosmetic changes later in the day. Ending the day with the GitHub Commit Number 3.

The project is still in the making and if you wish to be a part of it feel free to hit me up in any platform you deem fit.

    Vedant mamgain

    Written by

    Pragmatic, Striving, Continiously.

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade