<?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[Stories by Ritik Harchani on Medium]]></title>
        <description><![CDATA[Stories by Ritik Harchani on Medium]]></description>
        <link>https://medium.com/@harchaniritik?source=rss-9006746a4df3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*IZ7R7trbPcboLUD0vUqM3Q.jpeg</url>
            <title>Stories by Ritik Harchani on Medium</title>
            <link>https://medium.com/@harchaniritik?source=rss-9006746a4df3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 01:52:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@harchaniritik/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Get a rich mindset with Rich Dad]]></title>
            <link>https://medium.com/@harchaniritik/get-a-rich-mindset-with-rich-dad-29d2467ca2c4?source=rss-9006746a4df3------2</link>
            <guid isPermaLink="false">https://medium.com/p/29d2467ca2c4</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[rich-dad-poor-dad-summary]]></category>
            <category><![CDATA[money]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[book-summary]]></category>
            <dc:creator><![CDATA[Ritik Harchani]]></dc:creator>
            <pubDate>Sat, 02 Oct 2021 07:33:11 GMT</pubDate>
            <atom:updated>2021-10-02T07:34:31.296Z</atom:updated>
            <content:encoded><![CDATA[<h4>Summarising Rich Dad and Poor Dad in 6 minutes</h4><h4>Author: Robert T. Kiyosaki</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*09u0lSr8o2ooSO_A" /><figcaption>Photo by <a href="https://unsplash.com/@aaronburden?utm_source=medium&amp;utm_medium=referral">Aaron Burden</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>Money is one form of power, but more than having money is having financial education. Money comes and goes, but if we have the education about how money works, we gain power over it and can begin building wealth.</p><h3>Lesson 1: The Rich Don’t Work for Money</h3><blockquote><em>The poor and the middle-class work for money. The rich have money to work for them.</em></blockquote><blockquote><em>People’s lives are forever controlled by two emotions: fear and greed.</em></blockquote><p><em>Lesson 1</em> tells us about the need for developing our financial intelligence and how it can impact our lives. Just like developing our muscles in the gym, financial intelligence needs to be developed too which has a great impact on our lives. The author says some people say they don’t care about money and yet they work 9–5 to fulfill their requirements and finally being unable to do so. The author advises the reader not to fall into this trap.</p><h3>Lesson 2: Why Teach Financial Literacy?</h3><blockquote><em>It’s not how much money you make. It’s how much money you keep.</em></blockquote><p><em>If people are prepared to be flexible, keep an open mind and learn, they will grow richer and richer despite tough changes. If they think money will solve problems, they will have a rough ride. Intelligence solves problems and produces money. Money without financial intelligence is money soon gone</em></p><blockquote><em>Rich people acquire assets. The poor and middle class acquire liabilities that they think are assets.</em></blockquote><p><strong>Rule #1 You must know the difference between an asset and a liability and buy assets</strong></p><blockquote><em>An asset puts money in my pocket. A liability takes money out of my pocket.</em></blockquote><h4>Understanding CASHFLOW</h4><ul><li><strong>Income Statement:</strong> Showing Income and Expenses Column. Also called Profit-and-Loss Statement.</li><li><strong>Balance Sheet:</strong> Showing Assets and Liabilities Column</li></ul><blockquote><em>Cashflow tells the story of how a person handles money</em></blockquote><blockquote><em>A person can be highly educated, professionally successful, and financially illiterate.</em></blockquote><p>Difference between rich, poor, and a middle-class person:</p><ul><li>The rich buy assets</li><li>The poor only have expenses</li><li>The middle class buy liabilities they think are assets</li></ul><h3>Lesson 3: Mind Your Own Business</h3><blockquote><em>The rich focus on their asset columns while everyone else focuses on their income statements</em></blockquote><blockquote><em>Financial struggle is often the result of people working all their lives for someone else.</em></blockquote><h4>Some Examples of Real-world assets:</h4><ul><li>Businesses that do not require my presence (Passive)</li><li>Stocks</li><li>Income-generating real estate</li><li>Royalties from intellectual property such as music, scripts, and patents</li><li>Anything else that has value, produces income or appreciates, and has a ready market</li></ul><blockquote><em>Start minding your own business, keep your day job but look for opportunities in the form of assets and not liabilities.</em></blockquote><h3>Lesson 4: The History of Taxes and the Power of Corporations</h3><p>Financial IQ is made up of knowledge from four broad areas of expertise:</p><ol><li><strong>Accounting</strong>: It is financial literacy or the ability to read numbers.</li><li><strong>Investing</strong>: It is the science of “money making money”.</li><li><strong>Understanding market</strong>s: It is the science of supply and demand. To know the technical aspects of the market, which are emotion-driven in addition to the fundamental or economic aspects of an investment.</li><li><strong>Law</strong>: A person who understands the tax advantages and protections provided by a corporation can get rich so much faster than someone who is an employee or a small-business sole proprietor.</li></ol><ul><li><em>Tax Advantages</em></li><li><em>Protection from lawsuits</em></li></ul><h4>Summary</h4><p>Business Owners with Corporations:</p><h4>Earn → Spend → Pay Taxes</h4><p>while Employees who work for Corporations:</p><h4>Earn → Pay Taxes → Spend</h4><p>NOTE: The author recommends learning about the protection that legal entities can provide for businesses and assets.</p><h3>Lesson 5: The Rich Invent Money</h3><blockquote><em>Often in the real world, it’s not the smart who get ahead, but the bold.</em></blockquote><blockquote><em>The single most powerful asset we all have is our mind. If it is trained well, it can create enormous wealth.</em></blockquote><blockquote><em>The problem with “secure” investments is that they are often sanitized, that is, made so safe that the gains are less.</em></blockquote><blockquote><em>It is not gambling is you know what you’re doing. It is gambling if you’re just throwing money into a deal and praying.</em></blockquote><p>There are two kinds of investors:</p><ul><li>The first and most common type is a person who buys a packaged investment. (MF, REIT, a stock, or a bond)</li><li>The second type is an investor who creates investments. They usually assemble a deal, in the same way, a person who buys components and builds a computer</li></ul><blockquote><em>Great opportunities are not seen with your eyes. They are seen with your mind.</em></blockquote><p>In order to be a great investor, we need to develop three main skills:</p><ol><li>Find an opportunity that everyone else missed</li><li>Raise money</li><li>Organize smart people</li></ol><p><strong>Manage risk, instead of avoiding it.</strong></p><h3>Lesson 6: Work to Learn — Don’t Work for Money</h3><blockquote><em>Job security meant everything to my educated (poor) dad. Learning meant everything to my rich dad.</em></blockquote><p><strong>“Know a little about a lot” was rich dad’s suggestion.</strong></p><p><strong>“Job” is an acronym for “Just Over Broke”.</strong></p><p>Main management skills needed for success:</p><ol><li>Management of Cash Flow</li><li>Management of Systems</li><li>Management of People</li></ol><p><strong>The better we are at communicating, negotiating, and handling our fear of rejection, the easier life is.</strong></p><p>Learn to give money:</p><p>Rich dad says: <strong>“Give, and you shall receive”</strong></p><p><strong>Giving money is the secret to most great wealthy families.</strong></p><h3>Lesson 7: Overcoming Obstacles</h3><blockquote><em>The primary difference b/w the rich and the poor is how they manage fear.</em></blockquote><p>The primary reasons why financially literate people may still not develop abundant asset columns are:</p><ol><li><strong>Fear:</strong> It’s how we handle failure that makes the difference in one’s life. <strong>For most people, the reason they don’t win financially is that the pain of losing money is far greater than the joy of being rich. Failure inspires winners but it defeats losers.</strong></li><li><strong>Cynicism</strong>: There’s a little chicken inside all of us which ran around warning the barnyard of impending doom: “The sky is falling! The sky is falling!”. So the author suggests that we’re in doubt and feeling a little afraid, just do what Colonel Sanders did to his little chicken. He fried it.</li><li><strong>Overcoming Laziness:</strong> Rich dad believed that the words “I can’t afford it” shutdowns your brain whereas “How can I afford it?” opens up possibilities, excitements, and dreams. Quote by Eleanor Roosevelt: “Do what you feel in your heart to be right — for you’ll be criticized anyway. You’ll be damned if you do, and damned if you don’t”</li><li><strong>Overcoming bad habits:</strong> Our lives are a reflection of our habits more than our education. <strong>Learn to pay yourself first.</strong></li><li><strong>Overcoming Arrogance:</strong> “What I know makes me money. What I don’t know loses me money. Every time I have been arrogant, I have lost money. Because when I’m arrogant, I truly believe that what I don’t know is not important”, says rich dad. The author says when we are ignorant in a subject, we must start educating ourselves with a help of an expert or a book on the subject.</li></ol><h3>Lesson 8: Getting Started</h3><blockquote><em>There is gold everywhere. Most people are not trained to see it.</em></blockquote><ol><li>Find a reason greater than reality: the power of spirit (To become Rich)</li><li>Make daily choices: the power of choice</li><li>Choose friends carefully: the power of association</li><li>Master a formula and then learn a new one: the power of learning quickly</li><li>Pay yourself first: the power of self-discipline</li><li>Pay your brokers well: the power of good advice</li><li>Be an Indian giver: the power of getting something for nothing</li><li>Use assets to buy luxuries: the power of focus</li><li>Choose heroes: the power of myth</li><li>Teach and you shall receive: the power of giving</li></ol><h3>Final Thoughts</h3><p>The author advises to <strong>Take Action!</strong>. He adds that all of us are given the two great gifts</p><ul><li>Our Mind</li><li>Our Time</li></ul><p>It is up to us what we do with them. Every day with every rupee we decide to be rich, poor, or middle class.</p><p>Spend it foolishly, and we choose to be poor.</p><p>Spend it on liabilities, and we shall join the middle class.</p><p>Invest it in your mind and learn how to acquire assets, and we shall be choosing wealth as our goal and our future.</p><p>Lastly, the author wishes us great wealth and much happiness with this fabulous gift called <strong>Life</strong>.</p><p>Thank You,</p><p><em>Summary by </em><strong><em>Ritik Harchani</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29d2467ca2c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Here’s why you should always use Constraint Layout for creating complex layouts in Android]]></title>
            <link>https://medium.com/nybles/heres-why-you-should-always-use-constraint-layout-for-creating-complex-layouts-in-android-42802f0a3b58?source=rss-9006746a4df3------2</link>
            <guid isPermaLink="false">https://medium.com/p/42802f0a3b58</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[constraintlayout]]></category>
            <dc:creator><![CDATA[Ritik Harchani]]></dc:creator>
            <pubDate>Wed, 12 Jun 2019 18:55:16 GMT</pubDate>
            <atom:updated>2019-07-01T07:49:04.197Z</atom:updated>
            <content:encoded><![CDATA[<h3>Always use Constraint Layout for creating Complex layouts</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qatotphqCyOKDuGbDl4Qwg.jpeg" /><figcaption>Photo by <a href="https://www.pexels.com/@rawpixel?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels">rawpixel.com </a>from <a href="https://www.pexels.com/photo/macbook-pro-908284/?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels">Pexels</a></figcaption></figure><p>Android Studio provides us with the number of layouts and it might be a bit confusing to choose the most suitable one for your job. Well, each layout has its own benefits but when it comes to complex, dynamic and responsive views you should always choose <strong>Constraint Layout</strong>.</p><p>Constraint Layout was added to Android Studio 2.2 in 2016 and it became the default layout of Android Studio because of its simplicity and ease of creating complex layouts.</p><h3><strong><em>First, let’s talk about layouts and what might be the need to introduce a new layout?</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-rE3S4FAr7F-JYWUDZbkig.jpeg" /><figcaption>Photo by <a href="https://www.pexels.com/@pixabay?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels">Pixabay </a>from <a href="https://www.pexels.com/photo/architect-architecture-artist-blur-268362/?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels">Pexels</a></figcaption></figure><p><strong>Layouts</strong> are basically blueprints, we need to position the views in some particular fashion on the screen.</p><p>Since Android runs on a variety of devices that have different screen sizes, the positioning of widgets should be dynamic so as to perform some basic scaling and resizing to adjust UI to different screens. Else it would be a tedious task to make UI for different screens and devices and surely these new type of upcoming foldable phones would be a nightmare for the developers!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xesFJx9E5fMG_KGpq3Ntfg.jpeg" /></figure><p>Although we have to put some extra effort to ensure our UI gracefully adapts for each type of screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*W2QvQe-kmjDPq35H" /><figcaption>Photo by <a href="https://unsplash.com/@ricaros?utm_source=medium&amp;utm_medium=referral">Danial RiCaRoS</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>So now let&#39;s say we need to build a complex layout, so we can use a simple layout like a Linear/ Frame/Table Layout or a complex layout like a Relative/Grid layout.</p><p>But the problem with simple layout is that we have to build view hierarchies for complex positioning and this will have performance issues.</p><p>So if not simple layout, we can still use a Relative Layout but the problem is without a good layout editor Relative Layout would be hard to use or maintain. Hence, we required a new layout with a great UI builder to easily build complex layouts for us.</p><p>So here comes the Constraint Layout for our needs-</p><p><strong>Constraint Layout </strong>simplifies creating complex layouts in Android by making it possible to build most of your UI using only the visual editor in Android Studio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AFQp-ZCGlA1oGzZbXA1jQw.png" /><figcaption><strong><em>Layout Editor in Android Studio</em></strong></figcaption></figure><p>Constraint Layout comes with some powerful tools with the help of which you can define complex layouts without having deep nesting. So it flattens the view hierarchy and gives better performance.</p><p>It wouldn’t be wrong to say that Constraint Layout is just a more advanced version of Relative Layout. They even have comparable sets of XML attributes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*1hQEsekIbZTQ0Kl_eOr6sA.jpeg" /><figcaption>Similar attribute for the “left” constraint of a view component</figcaption></figure><h3><strong><em>Now let&#39;s see how it works!</em></strong></h3><p>In Constraint Layout, you can connect all the view components to each other and place them on screen. The best part is that you do not have to define any orientation or relation of view components and just need to connect one horizontal and one vertical constraint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*f6wDRuONqs4F5SudaPnPTQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*NtGEQ5qu7wtB4ZTKCdow-Q.png" /></figure><p>So these constraints can be built entirely by drag-and-drop instead of XML or Java code with the help of great Layout Editor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*e0bqU6nM7s6buC200hFWqw.jpeg" /></figure><p>Layout Editor has this amazing feature known as <strong>Inspector.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*rTfQ1MJgCwxbDQvdi4q7Ww.png" /></figure><p><strong>Inspector</strong> gives us the iconified view of a single widget. We can set margins for each side of constraint here, we can also use sliders to adjust the bias when you have both sides constrained horizontally or vertically.</p><p>The editor has two modes of Design Surface which are normal design surface and the blueprint design surface. We can select any one or both of them. The blueprint mode is just an X-ray of design mode which shows us all the constraints and margins. It is helpful as it shows the information pertaining to the widgets of the layout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*fd77P-yGS3yemri9BRiZSA.png" /></figure><p><strong>Inference</strong> and <strong>Autoconnect</strong> are some of the magical tools of this UI builder which automatically creates constraints for us after we place the widgets at the desired position.</p><p><strong>Inference </strong>calculates the probability of all available connections and then it goes through some algorithms to decide the connections of constraints which will be most suitable for the desired layout.</p><p>Let’s see how simple it is-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*SU-K0wMVmIJxk76ysDYvWg.png" /></figure><p>Design the widgets as per your required layout on the screen.</p><p>After you are done, go on and press that magical wand on the toolbar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*lnbmdCHdNiaR9db8rFYWFg.png" /></figure><p>And Voila!</p><p>We have every component constrained as per the desired layout.</p><p>If you are not happy with some of the constraints go ahead and change it manually, the editor is flexible with all the changes.</p><p>Also if there are some of the constraints before, the inference tool respects the constraint and creates the new constraints accordingly.</p><p>So, This was just an introduction to some of the features and tools of Layout Editor. For more details check out the link to this developer’s guide-</p><p><a href="https://developer.android.com/studio/write/layout-editor.html">Build a UI with Layout Editor | Android Developers</a></p><p>Thanks for Reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42802f0a3b58" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nybles/heres-why-you-should-always-use-constraint-layout-for-creating-complex-layouts-in-android-42802f0a3b58">Here’s why you should always use Constraint Layout for creating complex layouts in Android</a> was originally published in <a href="https://medium.com/nybles">Nybles</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>