<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[PARTH - Medium]]></title>
        <description><![CDATA[A team of young, passionated &amp; hardworking enthusiasts, who wants to change the world for good 🗺 - Medium]]></description>
        <link>https://medium.com/p-a-r-t-h?source=rss----ce531ace68b5---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>PARTH - Medium</title>
            <link>https://medium.com/p-a-r-t-h?source=rss----ce531ace68b5---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 11:20:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/p-a-r-t-h" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Dark Theme for OneCricket — a Colour System Case Study]]></title>
            <link>https://medium.com/p-a-r-t-h/dark-theme-for-onecricket-a-colour-system-case-study-de7cfff35e1?source=rss----ce531ace68b5---4</link>
            <guid isPermaLink="false">https://medium.com/p/de7cfff35e1</guid>
            <category><![CDATA[onecricket]]></category>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[color-system]]></category>
            <category><![CDATA[dark-theme]]></category>
            <category><![CDATA[product-design]]></category>
            <dc:creator><![CDATA[Nihal Singh]]></dc:creator>
            <pubDate>Mon, 08 Mar 2021 04:43:15 GMT</pubDate>
            <atom:updated>2021-03-08T04:43:15.049Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dark Theme for OneCricket — a Colour System Case Study</h3><p>We believe in product development based on intuition and data but every now and then it’s good to do some things that users demand.</p><p>DARK THEME on OneCricket has been a feature demand from users which we were all thrilled to bring but it required heavy foundational establishments before we could bring multiple theme support.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bBLlc8mzA4_nFnRXFba6RA.png" /><figcaption>OneCricket in all its glory</figcaption></figure><h3>Problem Statement and an Opportunity</h3><p>When users were writing us reviews that they needed Dark Theme badly, we as design team had already started thinking about what would it take to bring dark theme on OneCricket. It was always planned but given the enormity of the task we never got green signal to do it until recently.</p><blockquote>In this article, I will be sharing how I approached and developed OneCricket colour system for both light and dark theme.</blockquote><h4>Problem Statement</h4><p>Create a system which can support our existing and future designs for both dark and light theme.</p><h4>An Opportunity</h4><p>An opportunity to streamline systems and components and achieve good consistency across the whole app. Some of our sections were still having older design language and undefined colours. We knew this is a good opportunity to touch each and every part of the app and do some foundational work which will save tons of our time in future.</p><p>I will be sharing how I approached and developed OneCricket colour system for both light and dark theme in this post. Let’s Begin.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FSLBr5yLzocSYw%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FSLBr5yLzocSYw%2Fsource.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FSLBr5yLzocSYw%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="187" frameborder="0" scrolling="no"><a href="https://medium.com/media/5fdb4bea6c1ee23236e10ddaab53eda0/href">https://medium.com/media/5fdb4bea6c1ee23236e10ddaab53eda0/href</a></iframe><h3>Approaching the Colour System</h3><p>The first thing I started doing was to start converting some existing pages into dark theme and see what general problems we might face when using a dark theme version of OneCricket.</p><p>Existing designs were not made with dark theme in mind so there might be issues with some components in dark theme.</p><p>There were undefined colours used before on each page and they were too many of them e.g. for text colours we had 5 levels which was clearly not required. Check this below status of our homepage before colour system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_lhyKNrLfl9_FYTV62RQlg.png" /><figcaption>OneCricket Home before Colour System</figcaption></figure><p>Stay tuned, I will be sharing in the process how I minimised the colours used across the app and integrated them into the system.</p><h3>The Design Process</h3><p>After playing around with some of the pages and trying to convert them into dark theme I noticed some repetitive components and found the direction from there. Our layouts were mostly using design components like —</p><ul><li>Surface</li><li>Cards</li><li>Texts</li><li>Separators</li><li>Strokes</li><li>Images</li><li>Icons</li><li>Navigation Bars</li><li>Navigation Tabs and Chips</li></ul><p>If you break them into even basic form, these elements are one of 5 types —</p><ul><li>Surface</li><li>Shapes</li><li>Elevations</li><li>Texts</li><li>Images</li></ul><p>This allowed me to design the colour system at the most basic level and I tried to represent all the components in above terms only. After auditing all existing designs, I noticed some interesting things —</p><ol><li>We can handle almost all the components in 3 levels of elevation</li><li>We only need 2 text colours and 1 low contrast text colour which can also be used as separator lines and strokes.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mPw3uq7HpRNCpwGW4m4fGg.png" /></figure><p>My focus now was to handle all the existing components considering scalability in design &amp; keeping minimum colours within the system. It’s like the competition between all those colour candidates for my colour system position and seats are limited 😂😂.</p><p>Above colour scheme was a first shot at the colour system and I got an idea about the below changes we needed to do for dark theme.</p><h3>Some Changes in Dark Theme</h3><p>We had to make some changes for dark theme, some components that would work in light theme but not in dark theme e.g. —</p><h4>1. Surface</h4><ul><li><strong>Big coloured surfaces needed to lose colours</strong></li></ul><blockquote>Colours on large surfaces emit more brightness than desired for dark theme.</blockquote><p>We give users option to customise app colour theme as well for their favourite teams e.g. blue for India. Some pages within app include dynamic colors according to the current team playing e.g. Live Page, Player’s Profile. In light theme top navigation bars for the pages are in those team coloured gradients which was clearly not going to work in dark theme. Colours on large surfaces emit more brightness than desired for dark theme. See below case —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s5rHIr5J1deHGUCfLpkXLQ.png" /><figcaption>Changes for Dark Theme.</figcaption></figure><h4>2. Shapes</h4><ul><li><strong>Small coloured shapes with text over it, needed to have darker shades</strong></li></ul><p>You can clearly see in the screen above at the centre, in dark theme those coloured balls are brighter than they should. We amped up the saturation a bit and reduced brightness for the coloured shapes in dark theme.</p><p>This let us achieve the same function from them as design components in dark theme as we had in light theme.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*N3-xVFSqQUj4TIyjwRLW6A.png" /><figcaption>Coloured shapes with text over it.</figcaption></figure><p>There are several other examples at other screens, but you got my point. Let’s move to the next component i.e. elevation.</p><h4>3. Elevations</h4><p>While experimenting with dark theme on existing designs, I found there were 3 levels of elevation used primarily throughout the app, there were some other elevations used at some places but we could still manage them within 3 levels. Checkout the components in below 2 screens of the OneCricket —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qY_BV6by4l97igvp1MYXpg.png" /><figcaption>Foreground Elevation Levels</figcaption></figure><p><em>There were other variants of elevations used in different screens but their functional use case always was to separate foreground from layer beneath.</em></p><p>So we minimised variants that were being used and came down to 3 different elevation levels for both light and dark theme —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8DMVjoR60u7yMJbq8hG-og.png" /><figcaption>Surface Elevations for Light &amp; Dark Theme</figcaption></figure><p>You can notice that elevations are inverted for dark theme, how? (<em>To be clear,</em> <em>colours are not inverted, it’s elevations. Dark Theme uses its own set of colours.</em>) See we removed all the shadows from the app to minimise one more component to handle and support. Without shadows you’re left with brightness to achieve elevations or in practical terms, to separate foreground from its layer beneath. Since white is already used as the primary foreground ( base card ) we cannot have any elevated surfaces above it.</p><blockquote>Without shadows you’re left with brightness to achieve elevations. Brightness = Elevation, simple!</blockquote><p>So to create separation for surfaces above primary foreground we had to go down in elevation.</p><p>Case is opposite for dark theme, primary foreground is only slightly bright than BG surface ( pure black, yeah pure black 😂 ). We have room in dark theme to achieve elevations by increasing brightness for different surfaces.</p><h4>4. Texts</h4><p>Texts are a little straight forward, you need 1 regular text colour i.e. your primary text colour and there are 1 or 2 more text colours required for other contrast variations. We already had more than needed so again removed some of them &amp; minimised it to 2 text colours. Primary and Secondary text colour.</p><blockquote>You need 1 regular text colour i.e. your primary text colour and there are 1 or 2 more text colours required for other contrast variations.</blockquote><p><strong>Colours other than black or white for text</strong></p><ul><li>Depending on what colour user picked as favourite team or teams playing on the live screen, we also use some colours on text to break the tone and bring some dynamism. These are dynamic colours depending on teams.</li><li>There are some other colours used for text with some specific use cases e.g. timer for the upcoming match, live badge, match comments, live score update and more. We also minimised it to 3 accent text colours only for all the use cases.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zgLh6u-cLxLFpB140M6pOA.png" /></figure><p>At this point, colour system has started taking the shape, I will be sharing how I documented it but let’s talk about the last component left to handle, “Images” —</p><h4>5. Images</h4><p>We use images at all the places in OneCricket whether it’s news cards, team logos, players on top cards or player’s profile. Now, there’s some problem with images, they look brighter in dark theme similarly to colours on large surfaces. So we’d to decrease its brightness for the dark theme.</p><p>We did this using 2 simple approaches of overlays and opacity. Images on top of a dark surface reduces opacity a bit. Shapes that are brighter for dark theme, we applied a dark overlay to reduce its brightness.</p><p><strong>Wow, you’ve made it till here, you deserve a reward 😍</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FdonkKNKjxEFkk%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FdonkKNKjxEFkk%2Fsource.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FdonkKNKjxEFkk%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="174" frameborder="0" scrolling="no"><a href="https://medium.com/media/0b641cf0924e1835b7867396cf4af080/href">https://medium.com/media/0b641cf0924e1835b7867396cf4af080/href</a></iframe><p>Let’s do this —</p><ul><li>Stretch</li><li>Blink 3 times</li><li>Blink 3 times again</li><li>Take a deep breath, breath out and let’s continue further 😁</li></ul><blockquote>Now it was time to document colour system properly so that all the designers and devs in team have single source of truth for colours in OneCricket.</blockquote><p>So in summary, we removed colours from large surfaces, fixed colours for shapes for light and dark theme, found 3 levels of elevations and brightness levels for light and dark theme, removed unnecessary text colours, limited it to 2 main colours and 3 accent colours and reduced brightness for images in dark theme.</p><p>You can already see a system taking shape there, now it was time to document it properly so that all the designers and devs in team have single source of truth for colours in OneCricket. Let’s see how I did just that —</p><h3>Finalising &amp; Documenting Colours for the System</h3><p>Doing some more iterations and experimentation with colours for all the components, we finally started finalising them.</p><p><strong>One of the main criteria for the text colours was that it need to pass luminance contrast ratio of at least 4.5:1 for the normal text. </strong>In simple terms it needs to be legible. We picked a set of primary text colour and secondary text colour for light theme and different set for dark theme.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ArcACmZrq3QaVU7hG8zM_A.png" /></figure><p><em>There’s no rule, you can go with your own set of text colours if you know what you’re doing. Just remember one thing Contrast and Accessibility cannot be compromised.</em></p><p>Similarly, I finalised colours for surface, elevations and highlight accent colours for both the themes.</p><p>Now I started searching for some good examples of colour system documents, I have obviously read and researched about the practices while I was working on it but none of them showed a good way to document colours which would solve my use case.</p><p>Then I found slack engineering article and it was exactly what I was looking for — “A good colour system documentation style”.</p><p><a href="https://slack.engineering/building-dark-mode-on-desktop/">Building Dark Mode on Desktop - Slack Engineering</a></p><p>I liked the nomenclature and accessibility column of slack colour system doc so I used the documentation style for our purpose.</p><p>Below is the final colour system that I presented to the design team and then later on to stakeholders and devs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dx3Yrk6XhfaxpqCzdePwIw.png" /></figure><p>It worked perfectly on all our existing designs, some of them definitely needed extra touch to sort out inconsistent design components so that the colour system can be applied across the app.</p><p>Now it was time to start using the colour system for all the sections in app so that it can be easily switched to light or dark theme and devs can start integrating the colour variables. It all started with integrating it first inside figma colour styles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x-PsGlg_w3IuWT6WubOzJQ.png" /></figure><p>We were able to pack colour system in 7 main colours and 7 highlight colours. Now do you remember how many colours our designs used to have, I showed it at the beginning. It’s all sorted now.</p><p>There’s a cool plugin in figma named themer which we use to quickly switch themes for any frame, see it working like magic below —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*5u1dH_OBaUhakZ_8EEKsoA.gif" /></figure><p>Themer requires a bit setup at the beginning you can checkout the video by Tom Lowry, its developer to understand how it works —</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FaM8SkksBy3Y%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DaM8SkksBy3Y&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FaM8SkksBy3Y%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e0e1b9e3b8941fbadc1b147d86ceb31b/href">https://medium.com/media/e0e1b9e3b8941fbadc1b147d86ceb31b/href</a></iframe><p>Also he is working on a new version for themer which will be easy to setup.</p><p>Our dev in charge for Dark Theme <a href="https://medium.com/u/ea023d6df0c6">Aman Raj Sundram</a> integrated Colour System in the app and made it production ready. Now all the devs in team can use the same system for further development.</p><h3>Rigorous Testing, Release to Production, The Future and Beyond</h3><p>We checked almost all the pixels and worked hard to make sure that dark theme works seamlessly. It should feel natural and fit within users daily life like it was always there. We believe we’ve done something good and elevated the quality of experience our users get from OneCricket. We were even more satisfied to see the responses from our users after they received the update —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*__Gel6xpPs4Pv3TR0ckZyQ.png" /></figure><p>It isn’t only a feature that users wanted, it’s a mindset and approach to quality product design. When you design systems like this, it doesn’t only benefit users, it has big impact on design team and development processes. In the long run, it’ll save the overall development time and designers can focus on high impact design decisions rather than deciding on colour each time they work on any new feature.</p><p>We have so far rolled it out to Android and iOS build is under testing currently. We will be bringing it to our Web App as well.</p><p>It wasn’t possible without the immense support from every single person in the team. Stakeholders, PMs, Devs &amp; Designers everyone was excited for this and they all were included in the process. They tested it and helped us make it better. I thank each and everyone at Parth for making this happen especially our Head of Design <a href="https://medium.com/u/3e93751fdfb">Rajat Vallabh</a> for all the support.</p><p>Below are the results after integrating OneCricket colour system —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ljsuBvbNhkz1sRL_FjObPg.png" /><figcaption>Some Beautifully crafted screens from OneCricket.</figcaption></figure><h3>And that was all…</h3><p>Thanks a ton, if you’ve read it till last. I loved working on it and learned a lot. Please share your thoughts in the comments. Writing is so hard, phew!! Anyway —</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fc4hnCnBbA19du%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fc4hnCnBbA19du%2Fsource.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fc4hnCnBbA19du%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="245" frameborder="0" scrolling="no"><a href="https://medium.com/media/1301ec88767a243839351bb6ea5b05fd/href">https://medium.com/media/1301ec88767a243839351bb6ea5b05fd/href</a></iframe><p>😂😂</p><p>Are you a cricket fan? you can checkout OneCricket on Android, iOS or Web.</p><p><strong>Android</strong></p><p><a href="https://play.google.com/store/apps/details?id=one.cricket.app">OneCricket - Pin Live Cricket Score - Apps on Google Play</a></p><p><strong>iOS (BETA)</strong></p><p><a href="https://apps.apple.com/gd/app/onecricket/id1502683595">‎OneCricket</a></p><p><strong>Web</strong></p><p><a href="https://cricket.one/">OneCricket</a></p><h4>Let’s connect:</h4><ul><li><a href="https://twitter.com/nihalnova">Twitter</a></li><li><a href="https://www.instagram.com/nihalnova/">Instagram</a></li><li><a href="https://dribbble.com/nihalnova">Dribbble</a></li></ul><p>Checkout more at <a href="http://nihalnova.com/">nihalnova.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de7cfff35e1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/p-a-r-t-h/dark-theme-for-onecricket-a-colour-system-case-study-de7cfff35e1">Dark Theme for OneCricket — a Colour System Case Study</a> was originally published in <a href="https://medium.com/p-a-r-t-h">PARTH</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[InboxStyle Notifications in Android]]></title>
            <link>https://medium.com/p-a-r-t-h/inboxstyle-notifications-in-android-84e777a65079?source=rss----ce531ace68b5---4</link>
            <guid isPermaLink="false">https://medium.com/p/84e777a65079</guid>
            <category><![CDATA[messaging]]></category>
            <category><![CDATA[android-notification]]></category>
            <category><![CDATA[notifications]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[fcm]]></category>
            <dc:creator><![CDATA[Aman Raj Sundram]]></dc:creator>
            <pubDate>Fri, 05 Mar 2021 10:03:47 GMT</pubDate>
            <atom:updated>2021-03-05T10:03:47.590Z</atom:updated>
            <content:encoded><![CDATA[<h3>InboxStyle Notifications in Android like WhatsApp</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SLeWFoHsZdyMJLIfXLrIFg.png" /></figure><h3>Introduction</h3><p>Android allows us to handle the incoming notifications in our client application. We can customize the appearance, content and actions based upon the incoming notification data.</p><p>There is often a need where we have to implement WhatsApp like expandable notifications separated by usernames/names and clubbed under app name as shown. We are going to implement custom Inbox Style notifications in Android in this post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wIhVuACV3J9Tkl53cKrGDQ.png" /></figure><h3>Getting Started</h3><p><a href="https://firebase.google.com/docs/cloud-messaging/concept-options#notifications_and_data_messages">With FCM, you can send two types of messages to clients:<br></a>1. <a href="https://firebase.google.com/docs/cloud-messaging/concept-options#notifications"><strong>Notification messages</strong></a><strong>:</strong> These are handled by the FCM SDK automatically.<br>2. <a href="https://firebase.google.com/docs/cloud-messaging/concept-options#data_messages"><strong>Data messages</strong></a><strong>:</strong> which are handled by the client app.</p><p>1. <strong>Notification messages</strong> contain a predefined set of user-visible keys. <br>2. <strong>Data messages</strong>, by contrast, contain only your user-defined custom key-value pairs.</p><blockquote>If you use Notification messages, you cannot customize it when your application is in the background. You can customize it only when the application is in the foreground.<br><strong>Hence, do not send anything under “notification” key in your message.</strong></blockquote><h3>👉Step 1:</h3><p>Setup your cloud functions from where you want to send the notifications</p><pre>const message = {<br>    data: {<br>        id: senderUID,<br>        profilePic: profilePic,<br>        title: username,<br>        body: message,<br>        sound: def<br>        },<br>    android:{<br>        priority:”high”,<br>        ttl:3600<br>        },<br>    token:instanceId<br>};</pre><pre>return admin.messaging().send(message);</pre><h3>👉Step 2:</h3><p>Make a Java Class which extends “FirebaseMessagingService” to handle the incoming notifications in your app:</p><p>If you have noticed in the messaging application like WhatsApp, it shows you the list of unread messages and updates it whenever any new notification arrives.</p><h4>How can we maintain the older unread messages?</h4><p>We can use SharedPreferences to store the unread messages(if any) of a user. Let us say that we have a user with username “arsundram” and he sends 6 messages. If we don’t click the notification or open the chat, we can keep the list of messages in the SharedPreferences named “notifications”.</p><h4>Understand the need:</h4><p><strong>Let us say, we have messages from 5 different users: Aman, Archna, Shikhar, Vijay and Priyanshu. Now, Aman sends a new message. But there are 5 messages already present in the notification tray. How to identify where to add this new notification?<br></strong>Each notification is built with a notification Id. This identifies each notification distinctly. If we want to add new messages to an existing notification, we need to have these id’s and the mapping which determines to which user that Id belongs to.<br>We store them in another SharedPreferences named “notificationIds”.</p><h3>Let’s get to the client-side code!</h3><h4>Global Variables:</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ed454c98d8318d077a9f26adb038b432/href">https://medium.com/media/ed454c98d8318d077a9f26adb038b432/href</a></iframe><p>Override <strong>onMessageReceived()</strong> method like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1c4d101c890595283ab5f89a53355cfb/href">https://medium.com/media/1c4d101c890595283ab5f89a53355cfb/href</a></iframe><p>🖥 <strong>initializeSharedPreferences():</strong> initializes the SharedPreferences and the list which stores the messages.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6a044a3e5375486f79d9755c3da90519/href">https://medium.com/media/6a044a3e5375486f79d9755c3da90519/href</a></iframe><p>🖥 <strong>showNotification():</strong> function handles the notification.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4657aa6bcc27eed682e8b2fdc4feb83c/href">https://medium.com/media/4657aa6bcc27eed682e8b2fdc4feb83c/href</a></iframe><p>🖥 <strong>fetchOldMessages(): </strong>fetches the old messages and notification key if they exist.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7dc4edee760e4533e3b823ca94d157e9/href">https://medium.com/media/7dc4edee760e4533e3b823ca94d157e9/href</a></iframe><p>🖥 <strong>getBitmapFromUrl(): </strong>converts incoming URL’s image to a bitmap.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/079074ec96fd1a538fe31e686597fbff/href">https://medium.com/media/079074ec96fd1a538fe31e686597fbff/href</a></iframe><h3>👉Step 3:</h3><p>You must handle the click event by clickAction. Let us say, on clicking the notification, the corresponding chat opens. Then, we can clear the list of messages and his notification id from the SharedPreferences for that user:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2b4e1d1f5741c17ce0c8a4411fd63383/href">https://medium.com/media/2b4e1d1f5741c17ce0c8a4411fd63383/href</a></iframe><h4>Appreciation</h4><p>Thank you for taking the time to read this post. I hope it helps you to implement InboxStyle notifications in Android. If you find it helpful, please 👏👏👏 to encourage me to write more articles like this.😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84e777a65079" width="1" height="1" alt=""><hr><p><a href="https://medium.com/p-a-r-t-h/inboxstyle-notifications-in-android-84e777a65079">InboxStyle Notifications in Android</a> was originally published in <a href="https://medium.com/p-a-r-t-h">PARTH</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A framework to ship your designs to development hassle-free in Start-Ups]]></title>
            <link>https://medium.com/p-a-r-t-h/a-framework-to-ship-your-designs-to-development-hassle-free-in-start-ups-a20dd303c7d8?source=rss----ce531ace68b5---4</link>
            <guid isPermaLink="false">https://medium.com/p/a20dd303c7d8</guid>
            <category><![CDATA[product]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[collaboration]]></category>
            <dc:creator><![CDATA[Rajat Vallabh]]></dc:creator>
            <pubDate>Fri, 05 Mar 2021 09:54:03 GMT</pubDate>
            <atom:updated>2021-03-05T10:06:50.705Z</atom:updated>
            <content:encoded><![CDATA[<h3>A 5 Step process to ship your designs to development hassle-free in Start-Ups</h3><h4>How designers can design &amp; present their work confidently to their teammates &amp; have seamless collaboration with developers to deliver implementable solutions.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1shB8I6o8QgU-wMbTIhNYg.png" /><figcaption>SDD Framework (Ship Designs to Development Framework)</figcaption></figure><h4>Hola Designers, Developers, Product Managers, Stakeholders &amp; anybody whoever wants to get things done!</h4><p>I guess we all won’t disagree with the fact that we designers see plenty of dribble shots, most of them with extra animation, wider shadows of course and cards all overflowing out from the interface. Is it an exaggeration? Yeah, it is. Do we ever see any of them in real-world apps? Hardly yeah.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iH8PhtfwJ58GpFaXxVKhhA.png" /><figcaption>Credits: Dribble shots of Cuberto &amp; Gavrisov Dmitri</figcaption></figure><blockquote>Don’t take me wrong, I’m not discouraging those designs on the dribbble. I’m saying it suits to have those designs on dribbble, dribbble has a different use case it’s the place for designers to show off their designing skills, not delivering &amp; showing the actual product.</blockquote><p>So, let’s talk about the design that works, is technically feasible, has a viable idea that helps a business grow and is delivered on time.</p><p>In today’s competitive world, more than thousands of digital product launches a day. Shipping your products faster is very important &amp; I truly believe If designers collaborate well, cover all edge cases &amp; produce designs that have no issue in implementing it technically, it’s going to make product delivery faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*F_cv5DTs9KlUUvH3MRgXCg.png" /></figure><p>Here I’m Rajat Vallabh, Product Design Head at Parth, introducing you to a framework that is going to solve all the above issues &amp; to make collaboration smoother.</p><h3>Ship your Designs to Development (SDD Framework)</h3><p>or “<strong>Phase 1 Design Framework”<br></strong>Why I named it as “Phase 1 Design Framework”? It’s interesting, go and read the full article to know the reason behind this.</p><p>Remember this</p><p><strong>It requires lots of guts for any person to come, speak and show up what he or she has created, though it’s the part of designer’s job.</strong><br><br>However, it’s everyone’s duty to set a comfortable, hesitation-free &amp; open environment for each other when other ones present their work.</p><blockquote>Design critiques are about critiquing the design, not the designer</blockquote><p>Also, I’ll leave a designer’s perspective here.</p><blockquote>“Designer can design what’s feasible, but he or she will design that is out of the box because everyone is going to like the second one, Designer will prefer to play safer side”</blockquote><p>I’ll also share a pain point what Developers have to face i.e.</p><blockquote><strong>“Edge cases” </strong>No doubt the UI designs &amp; it’s flow brings out the clear picture of the product to develop but still there might be many edge cases left to be considered by the Designer which is a blocker developer to move further which leads to delay.</blockquote><p>Now, beginning how this Framework works?</p><h4>Stakeholders involved in this framework:</h4><p>1. Product Designers<br>2. Developers<br>3. CEO / CTO / Product Managers</p><p>It involves 5 major steps with some sub-steps in it:</p><h4>Step 1: Design the best you can!</h4><p>In this step the product designer should design whatever the best he can, dropping all constraints &amp; possibilities down, it will lead to high-end ideas.</p><blockquote>We can only think out of the box when there is no box.</blockquote><h4>Step 2: Get Feedback on Rough Idea</h4><p>Here Designer has to get on board with decisive authority, explaining to him the business &amp; user goals and present a design intended to meet these or solve a problem, along with the rationale behind it. He has to get feedback on your rough idea in the following subjects:-</p><p>1. Ideas, Tips &amp; Impression on this Idea<br>2. Is this the Right Direction?<br>3. How to move the concept forward?<br>4. Visual / Graphic Feedback?</p><p>Iterate &amp; repeat this step until it sounds better to the ones discussing, Remember this is not the final one.</p><h4>Step 3: Ask for Feasibility Analysis</h4><p>Conduct a meeting where you can get on board with all stakeholders including developers. Here designer will explain the designs &amp; he or she can ask developers to analyze the following:-</p><p>1. Client-Side UI Feasibility (Android, Web, iOS, etc.)<br>2. Client-Side Interaction Feasibility<br>3. Server Side Feasibility (Backend, APIs, Algorithm, etc.) <br>4. Data Availability <br>5. Graphical Data Feasibility</p><p>The associated person will take responsibility to come up with the feasibility analysis &amp; will also tell about the estimated time gonna take in each implementation. It might take a day.</p><h4>Step 4: Create Phase 1 Design</h4><p>Get on board with everyone again &amp; developers will tell about the things which are easily implementable &amp; which are not. The designer will note down all the points &amp; will go to iterate the existing to create P<strong>hase 1 design</strong>. Also, this will lead to a bunch of tasks for the data analyzing team if any important data is required.</p><h4>Step 5: Cover edge cases &amp; deliver</h4><p>With all the above discussion &amp; the experience of Designer, he or she can think of all possible edge cases to be covered. It might be possible some are missed but that’s okay. Sometimes it might sound obvious interfaces to you but trust me this is gonna save hell a lot of time once done.</p><p>That’s it!</p><p>Now you have a design that is User-Centric, Business oriented &amp; technical implementable. So, what’s stopping you, go &amp; impress your teammates by designing UIs that work rather than impressing the other designers on the dribbble. No, No I was just kidding, keep on doing this too.</p><h4>Quick Summary</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mswo5MZKggJxCImzgsz8cg.png" /><figcaption>SDD Framework (Ship Designs to Development Framework)</figcaption></figure><p>As I promised I’ll let you know about the rationale behind “Phase 1 Design”, it is because The term “Phase 1 Design” sounds like it is not the final design which ultimately we’re targeting, this is what we’re gonna deliver in phase 1 version. This takes down all pressure from the designer to defend his or her designs &amp; he can come up with an actual feasible design that could be implemented on time.</p><p>Please leave claps if it helped &amp; If there anything that is a hurdle in your product development life cycle, Let me know in the comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a20dd303c7d8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/p-a-r-t-h/a-framework-to-ship-your-designs-to-development-hassle-free-in-start-ups-a20dd303c7d8">A framework to ship your designs to development hassle-free in Start-Ups</a> was originally published in <a href="https://medium.com/p-a-r-t-h">PARTH</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>