Skip to main content


Showing posts from September, 2021

Create a forum or wall for your social media app

 In this tutorial we will cover how to create a forum or wall for our social media app. This will be slightly more complex than what we have covered so far. This will be your main activity feed and thus it is important to think deeply about what you want your users to see or experience. Building your layout I have created the following layout for the forum.  I started by dragging a linear H onto my layout Inside the linear h, I placed the following: I.) Imageview- this will hold the profile picture of the user II.) A linear V-  this will just be a place holder III.) imageview- this will reveal the options to add a new post IV.) Imageview- this will be our search button V. Edittext- this is where the user will type a search query VI. Imageview- this will clear and hide the search field Adding a Customview We will need to add a customview to determine how our wall posts will be displayed.  I have created my customview and given it the name "custom". It looks as shown below: Now

Songs to help you get through a heartbreak

If you're having girl(or boy) problems I feel bad for you son(or daughter), I got 99 problems but a b**** ain't one.  Who am I kidding? Heartbreak happens to the best of us... yup, that's including me. While most people handle it fairly well, there are some whose lives end up ruined as a result of the ultimate betrayal. I've been depressed at some points, and though time may heal most wounds, some scars become constant reminders of a love lost and the way it left us feeling empty. One thing I have learnt however is that whenever it happens, instead of being in denial, it is much wiser to face it head on. So I give myself time to grieve and let it all out. One of my best outlets is music. There are some songs which can plug into your chest, connect to your pain and then say the right words to your wall of shame. Heartbreak is definitely no laughing matter... and I know for some, it may even seem like the end of the world. Take a break, cry or do whatever you feel will he

The most romantic RnB love songs for lovers

Is there a name for that warm fuzzy feeling that you feel in your chest when you're in love? Ever been so in love that whenever you get a free moment, all you want to do is just shut your eyes and smile on the inside as you think about all the wonderful things you see in your beau.  The way that crooked tooth perfects their smile. How they giggle. The way they say a certain word, or even how they walk. Beautiful isn't it? (Especially if they feel the same too.) Well, I hope the following songs will perfect those moments for you. If you're still searching for the one, then I hope these songs will renew your faith in love and reinforce your belief in romance. The whole idea is to give you a collection of songs that you can sing to your partner, or better yet, dance to as you hold each other close. Please note that there are way too many love songs to cover in a single article. So I hope you understand that this list is neither conclusive nor exhaustive. It is simply a songs t

Hip hop and RnB songs to apologize to your partner

Love is a beautiful thing, but it often goes wrong. This often leads to pain, suffering and sorrow.  Being imperfect beings, hearts tend to get broken all the time regardless how hard we may try to avoid it.  The heartbreak is often inadvertent but at times we find ourselves in the wrong. An oversight, a word unsaid or even a lapse in our judgement can cause our loved ones harm. This doesn't always have to be the end though. Oftentimes, relationships can be mended by simply uttering three simple words: "I AM SORRY". This article is a collection of some of my favourite 'I'm sorry' songs. I hope you'll enjoy these apology songs, but more importantly, I hope you will get a few quotables and some wisdom nuggets from them.  The best apology however, is to change behaviour (got that from a Jay Z interview) so as you apologize, please remember that it was your actions that hurt them. The best apology is one which involves you not repeating those same mistakes aga

How to easily set Firebase Rules for your app

How to easily set Firebase Rules for your app When building apps or websites, you might want to add a database where information is stored online so that users can easily access if from multiple locations. Google's Firebase platform allows you to do just that. It comes with a number of useful functions such as enabling user authentication, providing online storage, databases and even cloud messaging.  You can read this email to find out more on how you can connect your mobile app to firebase. Once you've set up your app and connected it to Firebase, you will need to control who or which of your users have access to specific parts of your database. This article will help you set rules and also highlight common mistakes which you should avoid. To set your Firebase rules, navigate to your Firebase Database Console and click the tabs section. This is shown in the images below: Navigate to the Firebase Realtime Database section. Navigate to Rules and select Edit rules By default you