<?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 Samveg Thaker on Medium]]></title>
        <description><![CDATA[Stories by Samveg Thaker on Medium]]></description>
        <link>https://medium.com/@thakersamveg608?source=rss-66bda8f6c5c9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*z6zogr7aE3k0nb2g1WB4Xg.jpeg</url>
            <title>Stories by Samveg Thaker on Medium</title>
            <link>https://medium.com/@thakersamveg608?source=rss-66bda8f6c5c9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 19:46:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thakersamveg608/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[The Wake-Up Call That Rewired My Priorities: A Journey into Personal Finance and the Essence of…]]></title>
            <link>https://thakersamveg608.medium.com/the-wake-up-call-that-rewired-my-priorities-a-journey-into-personal-finance-and-the-essence-of-3a08576acd2b?source=rss-66bda8f6c5c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a08576acd2b</guid>
            <category><![CDATA[financial-planning]]></category>
            <category><![CDATA[insurance]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[health]]></category>
            <dc:creator><![CDATA[Samveg Thaker]]></dc:creator>
            <pubDate>Fri, 17 May 2024 08:39:19 GMT</pubDate>
            <atom:updated>2024-05-17T08:39:19.021Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Wake-Up Call That Rewired My Priorities: A Journey into Personal Finance and the Essence of Health Insurance</h3><p>Have you ever felt invincible, oblivious to the fragility of life and the impact of unforeseen events? I certainly did until a pivotal moment rewired my perspective on finances and prioritised the invaluable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ItNDiFQQ1yX2K7GvdjXhg.jpeg" /></figure><h3>Dec 2020: A Shock to the System</h3><p>December 2020 marked a seismic shift in my outlook. As a Software Engineer immersed in my work at Microsoft, I had blissfully delegated financial matters to my father. Little did I know that life was about to throw a curveball that would redefine my priorities.</p><p>My father’s sudden heart attack jolted me into a reality where the first step in navigating a medical crisis was a visit to the billing section, a payment of 50k INR, and only then could I access his room. It was a harsh awakening to the stark truth — in emergencies, it’s not your status, knowledge, or work ethic that matters; it’s your financial preparedness. Money becomes the lifeline.</p><h3>From Ignorance to Empowerment</h3><p>This crisis became my gateway into the world of personal finance. I devoured online content, delved into studies, and adopted financial practices — Insurance, Investment, Goal Planning and Retirement. Fast forward three years, and I found myself in a position to reassess my career trajectory, thanks to newfound financial stability.</p><p>Amid the multitude of lessons, one stood out — the paramount importance of insurance. It’s a shield against the unpredictable twists of fate, especially in matters of health. The first strategic move I made post this awakening was securing robust Health Insurance for my family and myself.</p><h3>The Starting Point: Health is Wealth</h3><p>Embarking on the journey of managing personal finances necessitates addressing the most significant risk first — your health. While investments are crucial, they can crumble in the face of a health emergency. Why not trade a small premium for peace of mind? Imagine facing a health crisis with one less worry on your plate.</p><p>Let’s face it; health insurance can be intimidating with its complexities. This post isn’t sponsored; it’s a genuine outreach to convey the importance of health insurance and the ease with which you can secure it (yes, insurance companies tend to make it complicated).</p><h3>My Recommendation: Ditto — Your Ally in Health Insurance</h3><p>In my pursuit of a reliable health insurance provider, I encountered various options. However, my experience with Ditto stood out. They not only demystified the intricacies of plans but also guided me through the entire process. Their personalized assistance was beyond compare. I shared this satisfaction on my <a href="https://www.linkedin.com/posts/samveg-thaker_ditto-insurance-has-been-really-helpful-with-activity-7139166298218930176-9j3y?utm_source=share&amp;utm_medium=member_desktop">LinkedIn</a> because good experiences deserve acknowledgement.</p><p>You can schedule a call with them here — <a href="https://bit.ly/4bVcIcE">https://bit.ly/4bVcIcE</a>, or feel free to explore other options. The key is to secure your health insurance TODAY.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a08576acd2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advanced Topics in SQL — I | Indexing]]></title>
            <link>https://thakersamveg608.medium.com/advanced-topics-in-sql-i-indexing-72c68bf23485?source=rss-66bda8f6c5c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/72c68bf23485</guid>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[database-design]]></category>
            <dc:creator><![CDATA[Samveg Thaker]]></dc:creator>
            <pubDate>Sun, 23 May 2021 18:25:47 GMT</pubDate>
            <atom:updated>2021-05-23T18:25:47.745Z</atom:updated>
            <content:encoded><![CDATA[<h3>Advanced Topics in SQL — I | Indexing</h3><p>This is a series of blogs for advanced topics in SQL. You will need some basic understanding of Database and Management Systems and SQL. I hope you are ready for some in-depth <strong>“Indexing”.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jsyM9COYU7WemlKvqV2GrQ.jpeg" /><figcaption>Designed by <a href="https://www.freepik.com/free-vector/computer-technology-isometric-icon-server-room-digital-device-set-element-design-pc-laptop_4103157.htm#page=1&amp;query=database&amp;position=2">Freepik</a></figcaption></figure><h3>What is Indexing?</h3><p>Whenever we run a query on our database, we scan through the entire database, given a few conditions. Indexing is a method of optimisation that reduces disk access for particular types of query.</p><p><em>Note: Primary key is </em><strong><em>not</em></strong><em> the index. You can read more about the Primary key </em><a href="https://www.mysqltutorial.org/mysql-primary-key/"><em>here</em></a><em>.</em></p><h4>Index</h4><p>An index is a type of data structure that is used to locate and access a particular data point.</p><p>To understand better, let’s assume a Table <em>T</em> as shown below</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/290a53fe4b4b7a10091745f9512f228b/href">https://medium.com/media/290a53fe4b4b7a10091745f9512f228b/href</a></iframe><p>We need to define that, on which column or set of column do we want to perform the indexing. Let’s assume the following scenarios</p><h4>Index on T.A</h4><p>In that case, if a query looks for a ‘cow’, i.e., <em>T.A = ‘cow’</em>, this table won’t be completely scanned — rather an output can be immediately given, i.e., row number <strong>3 </strong>and <strong>5</strong>.</p><p>Now, just to understand better — if <em>T.A = ‘cat’</em>, the output will be the rows <strong>1</strong>, <strong>4</strong> and <strong>6</strong>.</p><h4>Index on T.B</h4><p>In that case, if a query looks for a ‘cow’, i.e., <em>T.B = ‘2’</em>, this table won’t be completely scanned — rather an output can be immediately given, i.e., row <strong>0</strong>.</p><p>What if we want some more generalized query — say <em>T.B &gt; 6</em>. In this case, the output will naturally be — rows <strong>3</strong>, <strong>4 </strong>and <strong>6</strong>.</p><h4>Index on T.(A, B)</h4><p>Yes, it is possible to form an index on tuples as well. But what does it really mean? Consider, there is a scenario where you want a <em>cat</em> with a value <em>greater than 5</em>, i.e., <em>T.A = ‘cat’</em> and <em>T.B &gt; ‘5’</em>. So, the general way(without indexing) is to execute the 1st condition and then perform the 2nd operation post the execution of the 1st on the results of the 1st condition.</p><p>Hence the output would be rows — <strong>4</strong> and <strong>6</strong>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F1M9fmo1WAFVK0%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F1M9fmo1WAFVK0%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExcm0xOGx3aHhrbjN6bHgzZHMzOHlqNHZ0Zzd5dG5wa29wOWlkZjN3biZlcD12MV9naWZzX2dpZklkJmN0PWc%2F1M9fmo1WAFVK0%2Fgiphy.gif&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="246" frameborder="0" scrolling="no"><a href="https://medium.com/media/5fbfded72b6272894e1dea782e7369f9/href">https://medium.com/media/5fbfded72b6272894e1dea782e7369f9/href</a></iframe><h3>Why do we need Indexing?</h3><p>There are always scenarios that we need very frequently. So let’s assume a very relatable scenario — We all are trying for Covid vaccines. So, what exactly happens, when you go to the vaccine booth(Given you get a slot :P). The person asks you for your mobile number/Unique Identification number to fetch your personal details (if you are going for the 2nd dose and enters the data if 1st).</p><p>Now imagine the number of entries in their database. Imagine the number of total slots existing in your country, all making request and DB serving all those requests.</p><p>When entries are in millions — just like the one scenario mentioned, imagine the database scanning the DB again and again, for all the searching requests. How many disk access will be used. What if we didn’t need to scan the complete database?</p><blockquote>Indexing helps in avoiding the full database scan for such scenarios.</blockquote><p>Now, what if we build indexing on Name? Would that help? No. We build indexes on the frequently used columns/parameters.</p><blockquote>Always build indexes on frequently used columns.</blockquote><h3>How does Indexing happen?</h3><p>An index is nothing but a data structure. So what exactly is it? Well, we have two options:</p><ol><li>Balanced Trees</li><li>Hash Tables</li></ol><p>Both of them come with their own <em>benefits</em> and <em>drawbacks. </em>Understanding the implementation difference is extremely important. We all know, that time complexity for Balanced trees is logarithmic and for Hash tables is a constant.</p><p>So that means, Hash tables will optimise your queries more than balanced trees. So why don’t we always use it?</p><p>Well, we saw a query — T.B &gt; 6. Queries like this, cannot make use of hash trees. Hence,</p><blockquote>For equality queries, we prefer Hash Tables whereas for inequality scenarios we prefer Balanced Trees.</blockquote><p>If you want to read more about Hash Tables and Balanced trees, you can read them <a href="https://www.hackerearth.com/practice/data-structures/hash-tables/basics-of-hash-tables/tutorial/">here</a> and <a href="https://www.cpp.edu/~ftang/courses/CS241/notes/b-tree.htm">here</a> respectively.</p><p>So, in the previous example — when we index on <em>T.A</em>, Index table can look like</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7d30337fdfd3a093fe22a18756ca75ad/href">https://medium.com/media/7d30337fdfd3a093fe22a18756ca75ad/href</a></iframe><p>Here the column <strong><em>value</em></strong> holds the row number of the database entry of table <em>T</em> defined above.<br>So, when we ask for <em>cat</em>,<em> cow </em>or<em> dog</em> — it just has to return the <em>value</em>. This is how it works. Now if cat, dog and cow had say 1000000 entries each, we won’t have to worry about the other two.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FLmNwrBhejkK9EFP504%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FLmNwrBhejkK9EFP504%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExcGZ5Z3lrbjNuMzlodnA3ODdrb25wenp2OWNrZjlrYXpibXhua2hpYyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FLmNwrBhejkK9EFP504%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/91c2efa4198c043f3f400f216214650e/href">https://medium.com/media/91c2efa4198c043f3f400f216214650e/href</a></iframe><h3>Let’s Code</h3><p>Enough theory, let’s code. So, that’s pretty easy in SQL. I guess the smallest section. Let’s assume we have a usual Student Database as shown below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/258dcefd58f1b2028acd6df4b8eca173/href">https://medium.com/media/258dcefd58f1b2028acd6df4b8eca173/href</a></iframe><p>The most common query would be getting the details of a student from their roll number, hence making an Index on the sID would make sense.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/052e241715f067160328c14179cfa707/href">https://medium.com/media/052e241715f067160328c14179cfa707/href</a></iframe><p>The above query would be optimised, however large the data is. Now given the below SQL query, assuming that it might be a frequently used query —</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d61a67791fb98eb646d12495803f55ac/href">https://medium.com/media/d61a67791fb98eb646d12495803f55ac/href</a></iframe><p>What should be the index based on?</p><ol><li>sID</li><li>sNAME</li><li>contactNumber</li><li>GPA</li></ol><p>Well obviously, it would make sense to index on <em>sName</em> or <em>GPA</em>. But, to optimise further, indexing on the tuple (sName, GPA) would be the best option.</p><h4>How do you create indexes?</h4><p>It’s as simple as anything —</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ccfb7e044f8182f05ba83a4f9c23e8b9/href">https://medium.com/media/ccfb7e044f8182f05ba83a4f9c23e8b9/href</a></iframe><p><em>Note: The syntax is based on MySQL.</em></p><p>If you want to read more about it — you can find it <a href="https://www.w3schools.com/sql/sql_create_index.asp">here</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F13078930&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fperfectly-balanced-thanos-infinity-war-gif-13078930&amp;image=https%3A%2F%2Fmedia.tenor.com%2FHqyg8s_gh5QAAAAd%2Fperfectly-balanced-thanos.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/0360f7440b30bfff572da78f39160bb9/href">https://medium.com/media/0360f7440b30bfff572da78f39160bb9/href</a></iframe><h3>Downside of Indexes</h3><blockquote>Everything comes at its cost.</blockquote><h4>Extra Space</h4><p>Indexes require extra space to maintain.</p><h4>Index Creation</h4><p>This is again a high operation cost. Not to forget that deciding the column/parameter to tuples that should be indexed is another issue. Wrong indexing would just take some space and doesn’t give you any optimisation.</p><h4>Index Maintenance</h4><p>Let’s give it a thought, the databases might change very frequently. CRUD operations are performed at a very high rate on high traffic DB’s. So,</p><ol><li>Do you perform indexes on every change?</li><li>Do you batch your changes?</li></ol><p>Or go for a 3rd option. So, sometimes, indexing can offset the benefits because of maintenance.</p><h4>Bonus Section</h4><p>People often use <strong>Physical Design Advisor</strong> to make decisions on Indexing.</p><blockquote>Input: Database(statistics) and Workload<br>Output: Recommended Index</blockquote><p>The way it works is, you feed <em>Database Statistics, Queries or Updates you want to make and the Indexes </em>to a Query Optimiser and it gives out the best execution plan with an estimated cost. It tries the updates with different indexes to see who has the minimum cost.</p><p>Thanks for reading till here. Next, I will be discussing Transactions. Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72c68bf23485" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sharing App Content Using Dynamic/Deep Links in Flutter]]></title>
            <link>https://medium.com/zenithec-techware/sharing-app-content-using-dynamic-deep-links-in-flutter-f050af3c1dee?source=rss-66bda8f6c5c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/f050af3c1dee</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Samveg Thaker]]></dc:creator>
            <pubDate>Sun, 04 Apr 2021 01:42:39 GMT</pubDate>
            <atom:updated>2021-04-04T01:42:39.228Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*41bS40IpESSbt6bVgrTYuQ.jpeg" /><figcaption>Credits: <a href="https://unsplash.com/photos/8bghKxNU1j0">https://unsplash.com/photos/8bghKxNU1j0</a></figcaption></figure><p>What are deep or dynamic links? Why are they used, and how to implement them in your application? Can you get analytics out of that?</p><p>Let me answer all of this one by one.</p><p><strong>Pre-requisites:</strong></p><ol><li><a href="https://medium.com/zenithec-techware/starting-with-flutter-b2200e1aa43a">Basics of Flutter</a></li><li><a href="https://medium.com/zenithec-techware/road-to-production-ready-application-i-code-structure-in-flutter-71a27cd8da94">Code structure for Flutter</a></li></ol><h3>What are Deep/Dynamic Links?</h3><p>According to Firebase, it is</p><blockquote>Firebase Dynamic Links are links that work the way you want, on multiple platforms, and whether or not your app is already installed.</blockquote><p>It is a way to share application information with people who might or might not have your application. You can track who shared what content and how many of these links were clicked and not clicked.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLvY1JMcrPF8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLvY1JMcrPF8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FLvY1JMcrPF8%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/ac54579ee62d7ef9cf8656254d018d9a/href">https://medium.com/media/ac54579ee62d7ef9cf8656254d018d9a/href</a></iframe><h3>Why are they used?</h3><p>Well, there a couple of usages. The one we will be discussing here is App Content Sharing. You must have seen various applications like Zomato, Swiggy, Airbnb and what not sharing different restaurants and staying places and accessing those links directly lead you to that particular restaurant.</p><p>Or you might have seen that you can share some Instagram posts, LinkedIn posts and all social media posts via links. The link directly leads you to a particular post. It is one of the very crucial features of an application.</p><h3>How do you do it?</h3><p>Let’s focus on each step very carefully. I am setting up the Firebase Project on <a href="https://console.firebase.google.com/">https://console.firebase.google.com</a>.</p><h4>Setting up a firebase project</h4><p>You can find a detailed note of Projects in Firebase <a href="https://firebase.google.com/docs/projects/learn-more">here</a>. So you need to create a project for both Android and iOS.</p><p>It’s a 3 step process:</p><ol><li>Getting the name for your project — “Testing”</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EAhbVD6Hjh_T-am9zk3fmA.png" /><figcaption>Naming a test project on https://console.firebase.google.com</figcaption></figure><p>2. You can enable google analytics so that you can know a lot of valuable statistics. But again, it depends on your use case and preference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BJ1yD82ZOMrZ5Mgj_CJDyA.png" /><figcaption>Enabling Google Analytics</figcaption></figure><p>3. [OPTIONAL] If you enable analytics in the previous step, you will need an analytics account to select where you want the data to go.</p><p>After you create a project, it might look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nC_1rX17hOE143e-ngDfrQ.png" /><figcaption>Firebase console landing page.</figcaption></figure><p>You can add the <em>Package Path</em> for Android and <em>BundleId</em> for iOS to identify your PlayStore or Apple App Store application. What’s next?</p><h4>Creating Dynamic Links</h4><p>Select the project you created. And on the side of Nav Bar, choose the option <strong>Dynamic Links </strong>in the <em>Engage </em>section. You will get something like the below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lV9EgPDjDTgfJSRoH3697g.png" /><figcaption>Starting with Dynamic Links</figcaption></figure><ol><li>Click on <strong><em>Get Started.</em></strong></li></ol><p>2. Now, you must have a <strong>Domain, </strong>the details of which will be required here. Enter a valid domain that you own like below. You can add anything like “<em>subdomain.domain.com</em>” where the subdomain is not compulsory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cp4_sTOejfCqitgvyTYVxQ.png" /><figcaption>I am adding the domain.</figcaption></figure><p><em>Note: You don’t need to add https:// or http:// as a prefix.</em></p><p>3. You will be asked to choose a <strong><em>path prefix</em></strong> if you like. But you can skip it since we will be dynamically creating links from our application. Like below, just press <strong><em>Continue</em></strong><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OfNZRP6PMO8NGuDV0m1z4Q.png" /><figcaption>Setting Path prefix</figcaption></figure><p>4. Now, you will be asked to set up the DNS for this. You can be asked to add a TXT, A or some other type of record in your DNS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RQx2yFw416TpkGrsQmqWfw.png" /><figcaption>Value for DNS</figcaption></figure><p>5. While adding a record in DNS, make sure, if you have added a subdomain in the 1st step, you will keep the <em>host/Name</em> will be the subdomain. If you are not using a subdomain, use <strong><em>@</em></strong> as <em>Name</em> and the <em>value</em> can be copied as given to you. Click <strong><em>Verify</em></strong> once done.</p><p>Awesome. Now you can create Dynamic links, and once the domain is verified, it might take up to 24 hours to get verified.</p><p>For setting up on iOS, follow the section linked <a href="https://firebase.google.com/docs/dynamic-links/ios/create#set-up-firebase-and-the-dynamic-links-sdk">here</a>.</p><h4>Let’s code!</h4><p>1st thing would be to create a function that generates a Dynamic link. We will add the dependency of this from</p><p><a href="https://pub.dev/packages/firebase_dynamic_links">firebase_dynamic_links | Flutter Package</a></p><p>in the <strong>pubspec.yaml</strong> like</p><pre>dependencies:<br>  firebase_dynamic_links: ^0.8.0</pre><p>We can add a standard function that can generate a dynamic link from anywhere in the application like below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e361154473a873c11444969f830c6ad4/href">https://medium.com/media/e361154473a873c11444969f830c6ad4/href</a></iframe><p>You can pass any number of query parameters in the link, depending upon your use case. I have shared 1 query param for simplicity. Now, this function will create a dynamic link.</p><p>Let us assume a scenario where we have to share a post/feed. So, what should happen on clicking the share button? We will be using the “<strong>Share</strong>” library in Flutter to share the links within different applications.</p><p><a href="https://pub.dev/packages/share/example">share | Flutter Package</a></p><p>You can use it like below by adding it as a dependency in the <strong><em>pubspec.yaml</em></strong></p><pre>dependencies:<br>  firebase_dynamic_links: ^0.8.0<br>  share: ^2.0.1</pre><p>Then you can create a function in the <strong><em>HelperClass.dart</em></strong> to use it at different places in your application.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4e594833508bcecf4666a560277af752/href">https://medium.com/media/4e594833508bcecf4666a560277af752/href</a></iframe><p>Now we need to call these function from some button clicks.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/828a64309bb098a4dd8bac1a09f709ac/href">https://medium.com/media/828a64309bb098a4dd8bac1a09f709ac/href</a></iframe><p>Now, you are good to go and can share them as messages on Whatsapp, Telegram and everywhere. But how will the receiver know on what feed or post to open?</p><h4>Receiving the Dynamic Links</h4><p>Go to the starter dart file of your application (<strong><em>main.dart</em></strong> in my case). We will be adding a function to receive the dynamic links and open the desired content.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb6e355a2f1cba81db04d984bee7fff8/href">https://medium.com/media/fb6e355a2f1cba81db04d984bee7fff8/href</a></iframe><p>Kudos! You did it. The feature will be soon available on our application <a href="http://avasar.life/"><em>Avasar.life</em></a><em>,</em> and you can test it out from the link below.</p><p><a href="https://play.google.com/store/apps/details?id=com.avasar.life.suicide.prevention.student.avsar.avasarlife">Avasar.life - Empowering Lives - Apps on Google Play</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f050af3c1dee" width="1" height="1" alt=""><hr><p><a href="https://medium.com/zenithec-techware/sharing-app-content-using-dynamic-deep-links-in-flutter-f050af3c1dee">Sharing App Content Using Dynamic/Deep Links in Flutter</a> was originally published in <a href="https://medium.com/zenithec-techware">Zenithec Techware</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Road to Production-Ready Application — I (Code Structure in Flutter)]]></title>
            <link>https://medium.com/zenithec-techware/road-to-production-ready-application-i-code-structure-in-flutter-71a27cd8da94?source=rss-66bda8f6c5c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/71a27cd8da94</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[architecture]]></category>
            <dc:creator><![CDATA[Samveg Thaker]]></dc:creator>
            <pubDate>Sun, 14 Feb 2021 13:02:46 GMT</pubDate>
            <atom:updated>2021-02-14T13:02:46.746Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ri8W3LSfnLHSFVd-ghUbw.jpeg" /><figcaption>Credits: <a href="https://unsplash.com/photos/OqtafYT5kTw">https://unsplash.com/photos/OqtafYT5kTw</a></figcaption></figure><h3>Road to Production-Ready Application — I (Code Structure in Flutter)</h3><p>In this section, we assume that you are already familiar with the basics of Flutter. In case you are new or a beginner at Flutter Application Development, please go through my blog — <a href="https://medium.com/zenithec-techware/starting-with-flutter-b2200e1aa43a">Starting with Flutter</a>.</p><p>As a developer, when you start to write an application, the 1st thing that comes to your mind is the folder hierarchy referred to as the Code Structure (not the architecture, which is entirely different). That is what we will talk about in this article.</p><p>I researched a couple of fold structures online and thought of mixing them to follow a hybrid and improved code structure. Feel free to improvise further on my code structure.</p><h3>Default Code Structure</h3><p>So when you 1st create a Flutter app, the default structure have</p><ol><li>.dart_tool</li><li>.idea</li><li>android</li><li>build</li><li>gen</li><li>homepage</li><li>ios</li><li>lib</li><li>External Libraries</li><li>Scratches and Console</li><li>pubspec.lock, pubspec.yaml etc</li></ol><p>All the files in the image below (except assets, homepage_top).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*R8gu_l5Gx99BcOr79Pqzdw.png" /><figcaption>The default file structure of a Flutter Application</figcaption></figure><p>Now let’s discuss one by one the uses and how to go further. Few things that we will add and why and how will be discussed in the order the above pic mentions.</p><h3>android</h3><p>Now, this contains all the code for the native android. Now inside <em>android,</em> you can find the below architecture (by default it is like this and don’t alter until and unless you have some specific need).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*cGIw7ciM4SNbfTjW1KwIUA.png" /><figcaption>File Structure</figcaption></figure><p>Now here we will be using 2 files when we want to sign the apk for release. That will be covered in the coming blogs.</p><ol><li>key.properties</li><li>build.gradle(The one inside the app and not the one which is immediately inside android)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*JKKk_VBGiUWuD6HIUMDMJQ.png" /><figcaption>Location of the <strong>build.gradle</strong> and <strong>google-services.json</strong> to be used</figcaption></figure><p>If you want to use some API&#39;s and add the <em>google-services.json</em>, it is inside the <em>app</em> as shown above.</p><h3>asset</h3><p>Now let’s discuss why, how and what is this folder needed for?</p><h4>Why?</h4><p>Any static image, gif or loaders will be added here. Adding here directly won’t enable us to access it directly. We will let the pubspec.yaml know that assets will be used from this folder as below:</p><pre><em># The following section is specific to Flutter.<br></em>flutter:<br><br>  <em># The following line ensures that the Material Icons font is<br>  # included with your application, so that you can use the icons in<br>  # the material Icons class.<br>  </em>uses-material-design: true<br><br>  <em># To add assets to your application, add an assets section, like this:<br>  </em>assets:<br>    - assets/<br>    - assets/launcher/</pre><h4>How?</h4><p>So we go to the parent directory -&gt; right-click on it -&gt; click on <em>New</em> -&gt; choose <em>Directory</em> as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oJ7yawTCqiE7pIqJgBgdhQ.png" /><figcaption>Creating the <strong>asset</strong> folder</figcaption></figure><h4>What?</h4><p>Assets can be a</p><ol><li>Picture in jpg, jpeg, png or webp format</li><li>Gif, etc</li></ol><p>It is recommended to have assets differently for Android and iOS. To read in detail about that, please read about that <a href="https://flutter.dev/docs/development/ui/assets-and-images">here</a>. The official docs give an in-depth idea of best practices and everything.</p><h3>ios</h3><p>This is again the auto-generated directory, which should not be changed until and unless required specifically. The structure is usually as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*yRC2OsSG48h0yQn5p_ZToQ.png" /><figcaption><strong>ios</strong> directory structure</figcaption></figure><p>As you can see GoogleService-Info.plist, but is always recommended not to add this from here but use Xcode(In case you don’t have a MacBook no need to worry). Following the <a href="https://firebase.google.com/docs/flutter/setup">Official Firebase Docs</a> would make this really smooth.</p><h3>lib</h3><p>The most important code or basically the flutter code will lie here. So let’s see this in detail. I have customised the sub-directories so that we can keep things well-fragmented. Below is the file structure for my lib directory:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*GCluQHlq6qvRw8-i7n9NiQ.png" /><figcaption>The file structure of <strong>lib</strong></figcaption></figure><p>When you start with the starter project you will only see the <em>main.dart.</em></p><h4>UI</h4><p>Now, start by making a <em>Directory</em> as suggested in the <em>assets</em> section and name it <em>UI. </em>Here we will be keeping all the <em>stateful and stateless widgets</em>. It will look like below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*N3TflhdB57WglfBxqVa-2w.png" /><figcaption>Structure of <strong>ui</strong></figcaption></figure><p>It has the following:</p><ol><li><strong>common_widgets</strong></li></ol><p>This contains all the common widgets. That may be the <strong>Primary Card</strong> that you might be using, or a <strong>Primary Button</strong> or a <strong>Secondary Button.</strong> If it is customised and has to be used multiple times(same design but different content in the different screens) then it is recommended to keep it in the common widgets. Below are some examples for <em>common_widgets</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*EAVo_VZkWjdewKXNL7DzvA.png" /><figcaption>Examples of <strong>common_widgets</strong></figcaption></figure><p>The code for a custom elevation(so that we can see shadow) for any widgets can be found below:</p><pre><em>import </em>&#39;package:flutter/material.dart&#39;;<br><br><em>class </em>CustomElevation <em>extends </em>StatelessWidget {<br>  <em>final </em>Widget child;<br>  <em>final </em>double height;<br>  <em>final </em>Color shadowColor;<br><br>  CustomElevation({@required <em>this</em>.child, @required <em>this</em>.height, <em>this</em>.shadowColor})<br>      : <em>assert</em>(child != <em>null</em>);<br><br>  @override<br>  Widget build(BuildContext context) {<br>    <em>return </em>Container(<br>      height: <em>this</em>.height,<br>      decoration: BoxDecoration(<br>        borderRadius: BorderRadius.all(Radius.circular(<em>this</em>.height / 2)),<br>        boxShadow: &lt;BoxShadow&gt;[<br>          BoxShadow(<br>            color: shadowColor,<br>            blurRadius: height / 5,<br>            offset: Offset(0, height / 10),<br>          ),<br>        ],<br>      ),<br>      child: <em>this</em>.child,<br>    );<br>  }<br>}</pre><p>2. <strong>screens</strong></p><p>This consists of the actual screens. Screens are usually a big feature, for example — Login, Register, Feeds, Profile etc. Make sure only the widget tree and some UI manipulating functions shall be present in the <em>UI </em>directory. <strong>NO API calls</strong> or <strong>Database operations</strong> are to be performed.</p><p>3. <strong>styles</strong></p><p>Last and the final is the <em>styles. </em>We will be using a particular set of colours and text style throughout our applications(that’s what is recommended), so instead of defining the colours hex code or font style, size and weight etc, we define it once and reuse every time we want. This will be discussed later in the blog that will have all the best practises of flutter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*g2rCx7t1DsqVa-zNahhqcg.png" /><figcaption>Contents of <strong>styles</strong></figcaption></figure><p>Code for <em>TextThemes.dart</em> can be found below:</p><pre><em>import </em>&#39;package:flutter/material.dart&#39;;<br><em>import </em>&#39;package:flutter/widgets.dart&#39;;<br><em>import </em>&#39;package:flutter_html/style.dart&#39;;<br><em>import </em>&#39;Colors.dart&#39;;<br><br><em>abstract class </em>TextThemes {<br><br>  <em>//Texts</em><br><br>  <em>static const </em>TextStyle <em>textTopForumSubHeading </em>= TextStyle(<br>    fontFamily: &#39;Helvetica&#39;,<br>    color: colorGreyLow,<br>    fontSize: 8.0,<br>    fontWeight: <em>fontWeightBold</em>,<br>  );<br><br>  <em>static const </em>TextStyle <em>textTopForumDetailDescription </em>= TextStyle(<br>      fontFamily: &#39;Helvetica&#39;,<br>      color: colorGreyDark2,<br>      fontSize: 9.0,<br>      fontWeight: <em>fontWeightRegular</em>,<br>      <em>// letterSpacing: 0.42,<br>      </em>height: 1.2<br>  );<br><br>  <em>static const </em>TextStyle <em>textAvasarLogo </em>= TextStyle(<br>      fontFamily: &#39;Helvetica&#39;,<br>      color: colorAvasarLogoHeading,<br>      fontSize: 26.0,<br>      fontWeight: <em>fontWeightMedium</em>,<br>      letterSpacing: 0.60<br>  );<br><br>  <em>//Font Weights<br>  static const </em>FontWeight <em>fontWeightLight </em>= FontWeight.<em>w300</em>;<br>  <em>static const </em>FontWeight <em>fontWeightRegular </em>= FontWeight.<em>w400</em>;<br>  <em>static const </em>FontWeight <em>fontWeightMedium </em>= FontWeight.<em>w500</em>;<br>  <em>static const </em>FontWeight <em>fontWeightSemiBold </em>= FontWeight.<em>w600</em>;<br>  <em>static const </em>FontWeight <em>fontWeightBold </em>= FontWeight.<em>w700</em>;<br>  <em>static const </em>FontWeight <em>fontWeightExtraBold </em>= FontWeight.<em>w800</em>;<br>  <em>static const </em>FontWeight <em>fontWeightHeavy </em>= FontWeight.<em>w900</em>;<br><br><br>}</pre><p>I have trimmed since we are using a couple of styles. Feel free to add as you find fit.</p><p><em>Colors.dart</em> can be used to use colours with hex code as shown below:</p><pre><em>import </em>&#39;package:flutter/material.dart&#39;;<br><br><em>//Add All colors here<br>const </em>colorSponsorText = <em>const </em>Color(0xff0E4D92);<br><em>const </em>colorGrey = <em>const </em>Color(0xffABB4BD);<br><em>const </em>colorBlack = <em>const </em>Color(0xff1D2029);<br><em>const </em>colorPrimary = <em>const </em>Color(0xff197FBA);<br><em>const </em>colorShadowPrimaryButton = <em>const </em>Color(0x69197FBA);<br><em>const </em>colorDisabledButton = <em>const </em>Color(0xffD9DDE2);<br><em>const </em>colorOceanBlue = <em>const </em>Color(0xff0B4F90);<br><em>const </em>colorShadowSearchCard = <em>const </em>Color(0x71abb4bd);<br><em>.<br>.<br>.<br></em>.<br><em>const </em>colorAvasarLogoHeading = <em>const </em>Color(0xff103558);</pre><h4>utils</h4><p>utils contains <em>Helper classes </em>which have common functions that can be used throughout the applications and the constants. Shared Preference can be added here as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*W6fGAvRTfAiat2K_2UWftw.png" /><figcaption>Structure of <strong>utils</strong></figcaption></figure><p>Talking about constants, we have</p><ol><li><em>AppConstants.dart</em>— to have certain error messages, Shared Preference keys, number of tabs and/or anything that might be constant(not to be used in UI).</li></ol><pre><em>import </em>&#39;package:shared_preferences/shared_preferences.dart&#39;;</pre><pre><em>//Integer Constants</em></pre><pre><em>const </em>int SPLASH_TIME = 250;<br><em>const </em>int TAB_INDEX_FEEDS = 0;<br><em>const </em>int TAB_INDEX_COUNSELLORS = 1;<br><em>const </em>int TAB_INDEX_HOME = 2;<br><em>const </em>int TAB_INDEX_FORUM = 3;<br><em>const </em>int TAB_INDEX_PROFILE = 4;<br><em><br>//String Constants</em></pre><pre><em>const </em>String SPONSOR = &quot;Powered by Zenithec Techware Pvt. Ltd.&quot;;<em><br>const </em>String OS = &#39;ANDROID&#39;;<br><em>const </em>String INTERNET_ERROR = &#39;Please check your Internet connection&#39;;<br><em>const </em>String EMPTY_TITLE_POST_ERROR = &#39;Please fill the title&#39;;<br><em>.<br>.<br>const </em>String EMPTY_DESCRIPTION_POST_ERROR = &#39;Please fill the description&#39;;<br><br><em>// SharedPreferences Key<br>const </em>String KEY_LOGIN = &#39;keyLogin&#39;;<br><em>const </em>String KEY_ACCESS_TOKEN = &#39;keySomeToken&#39;;<br><em>const </em>String KEY_REFRESH_TOKEN = &#39;keySomeToken&#39;;<br><em>const </em>String KEY_USER_ROLE = &#39;keySomeRole&#39;;<br><em>const </em>String KEY_USER_SELECTED = &#39;isUserSelected&#39;;<br><em>const </em>String KEY_USER_AUTHOR_SKIPPED = &#39;isAuthSkipped&#39;;<br><em>const </em>String KEY_SERVER_USER_ID = &quot;serverUserId&quot;;<br><em>const </em>String KEY_USER_FIRST_NAME = &#39;firstName&#39;;<br><em>const </em>String KEY_USER_LAST_NAME = &#39;lastName&#39;;<br>.<br>.<br><em>const </em>String KEY_USER_COLLEGE_NAME = &#39;collegeName&#39;;<br><br><em>//Feed Type</em></pre><pre><em>const </em>String FEED_CATEGORY_STORY = &quot;STORY&quot;;<br><em>const </em>String FEED_CATEGORY_BLOG = &quot;BLOG&quot;;<br><em>const </em>String FEED_CATEGORY_VIDEO = &quot;VIDEO&quot;;<br><br><em>const </em>String ROOT_TYPE_FORUM = &#39;FORUM&#39;;<br><em>const </em>String ROOT_TYPE_COMMENT = &#39;COMMENT&#39;;<br><br><em>//Web view Urls</em></pre><pre><em>const </em>String PRIVACY_POLICY_URL = &#39;http://www.avasar.life/privacy_policy&#39;;<br><em>const </em>String TERMS_AND_CONDITIONS_URL = &#39;http://www.avasar.life/terms_and_conditions&#39;;</pre><p>2. <em>HttpConstants.dart</em> — All API call-related constants. Usually BASE URLs and the routes.</p><pre><em>//Base URL<br>const </em>String BASE_URL = &#39;https://subdomain.domain&#39;;<br><br><em>//GET Request URL&#39;s<br>const </em>String APP_UPDATE_URL = &#39;path/some_more_path&#39;;<br><em>const </em>String FEEDS_URL = &#39;path/some_more_path&#39;;<br><em>const </em>String TAGS_URL = &#39;path/some_more_path&#39;;<br>.<br>.<br><em>const </em>String EXPERIENCES_URL = &#39;path/some_more_path&#39;;<br><br><br><em>//POST Request URL&#39;s<br>const </em>String LOGIN_URL = &#39;path/some_more_path&#39;;<br><em>const </em>String REGISTER_URL = &#39;path/some_more_path&#39;;<br><em>const </em>String REQUEST_OTP_URL = &#39;path/some_more_path&#39;;<br>.<br>.<br><em>const </em>String REPORT_URL = &#39;path/some_more_path&#39;;</pre><p>3. <em>UIConstants.dart — </em>is used to keep all the values that are seen in the UI of the app, that might be the button text or text field hints. Code is similar to <em>AppConstants.dart</em></p><h3>main</h3><p>This is the started code and you can put all the routes and routing information here. You can also initialise the DB, Shared Prefs, Firebase and any other such services.</p><pre><em>import </em>&#39;dart:async&#39;;<br><em>import </em>&#39;dart:convert&#39;;<br><em>import </em>&#39;dart:io&#39;;<br><em>import </em>&#39;dart:ui&#39;;<br><em>.<br>.<br>import </em>&#39;package:firebase_messaging/firebase_messaging.dart&#39;;<br><em>import </em>&#39;package:flutter/material.dart&#39;;<br><em>import </em>&#39;package:path_provider/path_provider.dart&#39; <em>as </em>path_provider;<br><em>import </em>&#39;package:shared_preferences/shared_preferences.dart&#39;;<br><em>import </em>&#39;package:flutter/services.dart&#39;;<br><br><br><br><em>void </em>main() {<br>  runApp(App());<br>}<br><br><em>class </em>App <em>extends </em>StatefulWidget {<br>  @override<br>  _AppState createState() =&gt; _AppState();<br>}<br><br><em>class </em>_AppState <em>extends </em>State&lt;App&gt; {<br><em><br>  final </em>FirebaseMessaging _firebaseMessaging = FirebaseMessaging();<br><br>  <em>void </em>initialiseSharedPref() <em>async</em>{<br><br>    bool userSelected = <em>await </em>SharedPrefs.<em>getUserSelected</em>();<br>    <em>if </em>(userSelected == <em>null </em>&amp;&amp; userSelected)<br>      SharedPreferences.<em>setMockInitialValues</em>({});<br>  }<br><br>  @override<br>  <em>void </em>initState() {<br>    <em>super</em>.initState();<br><br>    initialiseSharedPref();<em><br><br>    final </em>Completer&lt;Map&lt;String, <em>dynamic</em>&gt;&gt; completer =<br>    Completer&lt;Map&lt;String, <em>dynamic</em>&gt;&gt;();<br>    <em>//Firebase setup<br>    </em>_firebaseMessaging.configure(<br>      onMessage: (Map&lt;String, <em>dynamic</em>&gt; message) <em>async </em>{<br>        print(&quot;onMessage: $message&quot;);<br>        completer.complete(message);<br>      },<br>      onLaunch: (Map&lt;String, <em>dynamic</em>&gt; message) <em>async </em>{<br>        print(&quot;onLaunch: $message&quot;);<br>      },<br>      onResume: (Map&lt;String, <em>dynamic</em>&gt; message) <em>async </em>{<br>        print(&quot;onResume: $message&quot;);<br>      },<br>    );<br>    _firebaseMessaging.requestNotificationPermissions(<br>        <em>const </em>IosNotificationSettings(<br>            sound: <em>true</em>, badge: <em>true</em>, alert: <em>true</em>, provisional: <em>true</em>));<br>    _firebaseMessaging.onIosSettingsRegistered<br>        .listen((IosNotificationSettings settings) {<br>      print(&quot;Settings registered: $settings&quot;);<br>    });<br><br>  }<br><br>  @override<br>  Widget build(BuildContext context) {<br>    SystemChrome.<em>setPreferredOrientations</em>([<br>      DeviceOrientation.portraitUp,<br>      DeviceOrientation.portraitDown,<br>    ]);<br><br>    <em>return </em>MaterialApp(<br><br>      initialRoute: &#39;/splashscreen&#39;,<br>      routes: {<em><br>        </em>&#39;/splashscreen&#39;: (context) =&gt; SplashScreen(),<br>        &#39;/register&#39;: (context) =&gt; Register(),<br>        &#39;/login&#39;: (context) =&gt; Login(),<br>        &#39;/otp&#39;: (context) =&gt; OtpVerification(),<br>        &#39;/home&#39;: (context) =&gt; Home(),<br>        &#39;/userSelection&#39;: (context) =&gt; UserSelection(),<br>        &#39;/counsellorDetail&#39;: (context) =&gt; CounsellorDetails(),<br>        &#39;/feeddetail&#39;: (context) =&gt; FeedDetail(),<br>        &#39;/feedlisting&#39;:(context)=&gt;FeedsListing(),<br>        &#39;/forumDetails&#39;:(context)=&gt;ForumDetails(),<br>        &#39;/forumListing&#39; : (context) =&gt; ForumListing()<br>      },<br>    );<br>  }<br>}</pre><p>I hope this made a few things clear about how you can keep your flutter code clean. Let me know if you have any doubts in the comments below or you can reach out to me on <a href="https://www.linkedin.com/in/samveg-thaker/">LinkedIn</a>.</p><p>Also, if you want to check out the application I made using this code, you can download it here and share this with your friends.</p><blockquote><a href="https://play.google.com/store/apps/details?id=com.avasar.life.suicide.prevention.student.avsar.avasarlife">https://play.google.com/store/apps/details?id=com.avasar.life.suicide.prevention.student.avsar.avasarlife</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71a27cd8da94" width="1" height="1" alt=""><hr><p><a href="https://medium.com/zenithec-techware/road-to-production-ready-application-i-code-structure-in-flutter-71a27cd8da94">Road to Production-Ready Application — I (Code Structure in Flutter)</a> was originally published in <a href="https://medium.com/zenithec-techware">Zenithec Techware</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Starting With Flutter]]></title>
            <link>https://medium.com/zenithec-techware/starting-with-flutter-b2200e1aa43a?source=rss-66bda8f6c5c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2200e1aa43a</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Samveg Thaker]]></dc:creator>
            <pubDate>Wed, 10 Feb 2021 19:04:45 GMT</pubDate>
            <atom:updated>2021-02-10T19:04:45.083Z</atom:updated>
            <content:encoded><![CDATA[<p>Whether you are a beginner or an expert, you must have come across a thought.</p><blockquote>Should I go with Native Android (Java + XML) or should I go for Hybrid development?</blockquote><p>Now you decide to go with Hybrid Development. So the next question comes in.</p><blockquote>Should I go with React Native or go with Flutter?</blockquote><p>Well, that’s a debate for a completely different day. So let’s jump into starting with Flutter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xuQVNyfDjcHzbatOrjtyfQ.jpeg" /><figcaption>Credits — <a href="https://unsplash.com/photos/7SDoly3FV_0">https://unsplash.com/photos/7SDoly3FV_0</a></figcaption></figure><h4>Where to start?</h4><p>Setting up the flutter will be the 1st thing we will do. Either you can see <a href="https://www.youtube.com/watch?v=1ukSR1GRtMU&amp;list=PL4cUxeGkcC9jLYyp2Aoh6hcWuxFDX6PBJ">this video</a> or follow <a href="https://flutter.dev/docs/get-started/install">this</a>. The blog is available for all the OS — Windows, Mac, Linux and Chrome OS.</p><h4>Which IDE to go ahead?</h4><p>Well, it depends on you. I prefer Android Studio since I have been using it for native development, and I am extremely comfortable using it. The environment Android Studio provides for application development is unparalleled.</p><p>If you have a low spec PC, it would be best to use the VS Code as the IDE. It’s the best IDE out there. Android Studio needs a high spec to perform flawlessly.</p><p>Here are the links for <a href="https://developer.android.com/studio?gclid=Cj0KCQiA3Y-ABhCnARIsAKYDH7uvmbxIaH4itvB7IcZeKLB94tyYuOCTr-cZvpaX2QM-xRWOueRmO1UaAsUYEALw_wcB&amp;gclsrc=aw.ds">Android Studio</a> and <a href="https://code.visualstudio.com/">VS Code</a>.</p><h4>Some CODING!</h4><p>Finally, let’s start with some coding. There are some musts to understand Flutter Application Development and be a PRO!</p><p>Understanding the WIDGETS and their LIFECYCLE is a must. You can watch <a href="https://www.youtube.com/playlist?list=PL4cUxeGkcC9jLYyp2Aoh6hcWuxFDX6PBJ">this playlist</a> and speed up your learning. You will wonder how such a small code can bring about such excellent Android and iOS applications.</p><h4>What’s next?</h4><p>There are a lot of things you can proceed with. Most important would be making a Dynamic Application. Here is something that I took as my first project for Flutter.</p><blockquote><a href="https://play.google.com/store/apps/details?id=com.avasar.life.suicide.prevention.student.avsar.avasarlife">https://play.google.com/store/apps/details?id=com.avasar.life.suicide.prevention.student.avsar.avasarlife</a></blockquote><p>Download and let me know how it is? What can I improve, and what did you like about it? Stay tuned for more blogs where I will cover the Code Structure, hierarchy and a lot more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2200e1aa43a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/zenithec-techware/starting-with-flutter-b2200e1aa43a">Starting With Flutter</a> was originally published in <a href="https://medium.com/zenithec-techware">Zenithec Techware</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Competitive Programming vs Application Development]]></title>
            <link>https://medium.com/dsc-nit-raipur/competitive-programming-vs-application-development-eaf8a5667094?source=rss-66bda8f6c5c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/eaf8a5667094</guid>
            <category><![CDATA[students]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[competitive-programming]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[careers]]></category>
            <dc:creator><![CDATA[Samveg Thaker]]></dc:creator>
            <pubDate>Fri, 14 Feb 2020 11:42:37 GMT</pubDate>
            <atom:updated>2020-02-14T11:42:37.906Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is what?</h3><p>Let’s discuss what is competitive programming and development first. Competitive Programming is a fun and professional sport of coding and solving problems that involve knowledge of Data Structures and Algorithms. On the other hand, development involves making a website application, android and iOS application that we daily use.</p><h3>What to start first?</h3><p>There is actually no specific answer, but I guess this is the most asked question on LinkedIn by a 1st or a 2nd-year college student and also as to how to start? There is no definite approach to this. It may differ on who is doing and what is the long-term goal. I will break it into a few categories, and respectively how to approach this problem:</p><ul><li>You want to start a STARTUP,</li><li>You are gonna go for PLACEMENTS,</li><li>You want to be a professional competitive programmer or</li><li>You are not sure about anything(Its perfectly normal not to be sure).</li></ul><h4>Let&#39;s start for those who are looking for Placements</h4><p>Competitive Programming is a must for those who are looking for placements. Development is something that needs not be taken seriously but its always good to have some projects in your portfolio. Data Structures and Algorithm is a compulsory topic for all the interviews you are gonna face in a Tech Company. If you are willing to join startups through online portals like Internshala or Angel.co, then development is expected from you(even a few live projects) and not competitive-programming.</p><p>So let’s start as to how to master competitive programming for placements. If you are starting to learn to program you can go through HackerRank and HackerEarth practice session(Whichever UI looks appealing to you :P).<br>On the HackerEarth <a href="https://www.hackerearth.com/practice/">practice section</a>, you can go through “Basic Programming”, “Data Structures” and “Algorithm” as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CjSmR7X7SxzqCyrb26H8sg.png" /><figcaption>credits: <a href="https://www.hackerearth.com/practice/">https://www.hackerearth.com/practice/</a></figcaption></figure><p>If you prefer <a href="https://www.hackerrank.com/dashboard">Hackerrank</a>, you can log in and practice “C++”, “Algorithms” and “Data Structures”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U2VKdYLvE_si_kiw3gPPSg.png" /><figcaption>credits: <a href="https://www.hackerrank.com/dashboard">https://www.hackerrank.com/dashboard</a></figcaption></figure><p>Once you are done with this, let&#39;s learn how to crack an interview and online tests. You can log in to Codeforces and go to the <a href="https://codeforces.com/problemset">PROBLEM SET</a> section. Once you are there, you can see the “Filter Problem” on the right side of the screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*s4jbG5kbAqN6FWgEIOC8fw.png" /><figcaption>credits: <a href="https://codeforces.com/problemset">https://codeforces.com/problemset</a></figcaption></figure><p>Start with 1000–1000 and you will get a few problems. Pick any 5 problems randomly and start solving them(daily). You can sort the problems by most solved and you might be able to pick some good questions. If you are able to solve the problems easily in one go then increase the difficulty by 100(Now 1100–1100) and continue this until it becomes difficult. When it becomes difficult, solve 10 problems(You can solve more. Aim is to increase your skill level and make you comfortable at this difficulty level) at this difficulty level (Technique credits: <a href="http://codeforces.com/profile/sg-61">Shubham Gupta</a>).</p><p>Parallelly sitting in a short contest would improve your performance in technical interviews tremendously. There are monthly short contests on CodeChef called <em>LUNCHTIME</em> and <em>COOK-OFF. </em>Codeforces organize short contests more often and you can practice more. The best way to improve yourself is to solve one more question after the contest. For eg. out of 5, you solved 2 questions fully and 1 partially, then solve the 3rd and the 4th right after the contest. If you are unable to do so, you could ask the help of a friend, if you don’t get that, you can look for other people&#39;s solutions and then solve it(code it) on your own once.</p><p>Once you are confident in this, and placements are approaching you can practice on websites like <a href="https://www.interviewbit.com/">InterviewBit</a>, <a href="https://leetcode.com/">LeetCode</a>, and <a href="https://www.geeksforgeeks.org/">GeeksForGeeks</a> (sort problems based on your company coming to campus).</p><h4><strong>Want to be Gennady Korotkevich?</strong></h4><p>If you are thinking of becoming a professional competitive programmer, you need to have a lot of patience and dedication(Well, you need this in every field). You can learn C/C++ and Data Structure and Algorithm as described in the previous section, but the course for competitions is way too vast. The best way is to practice as many questions as possible. <a href="https://www.spoj.com/"><em>SPOJ</em></a><em> </em>is one of the best platforms to solve harder level questions. You can practice important topics from here :</p><p><a href="https://discuss.codechef.com/t/programming-contest-detailed-syllabus-along-with-example-problems/17791">https://discuss.codechef.com/t/programming-contest-detailed-syllabus-along-with-example-problems/17791</a></p><p>This is aimed at the biggest competition for competitive programming on a global level. You can definetly approach other big programmers for a few tips. Spoj is just one of the websites, other websites like <a href="https://www.topcoder.com/">TopCoder</a> and Codeforces might be really helpful as well.</p><h4>Are you a Start-Up Guy?</h4><p>If you think you are inclined towards running a startup, you don’t pretty much need competitive programming skills. You can straight away start with development(If you want to know how to start Android Development, you can check out my previous blog <a href="https://medium.com/@thakersamveg608/how-to-start-android-development-2e9cabad1ea4">here</a>) and get into internships in startups(and not MNC’s).</p><h4>Not figured out yet?</h4><p>Most of us lie here. Let me be very honest with you, you need to balance both development and competitive if you are not sure. You might not go on perfecting each algorithm but you need good competitive programming(in case you change your mind later). Development is gonna help you in both the stream.</p><h4>Conclusion</h4><p>I hope I was able to clarify some of you as to <strong><em>how</em></strong> and <strong><em>why</em></strong> to choose <strong><em>what. </em></strong>But it all depends on you and your perspective. All the best to everyone and you can reach out to me anytime at samveg@zenithec.com or at <a href="https://www.linkedin.com/in/samveg-thaker/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eaf8a5667094" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dsc-nit-raipur/competitive-programming-vs-application-development-eaf8a5667094">Competitive Programming vs Application Development</a> was originally published in <a href="https://medium.com/dsc-nit-raipur">DSC NIT Raipur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to get an Android Internship]]></title>
            <link>https://medium.com/dsc-nit-raipur/how-to-get-an-android-internship-d7dfb3ef3452?source=rss-66bda8f6c5c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7dfb3ef3452</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[startup-life]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Samveg Thaker]]></dc:creator>
            <pubDate>Thu, 06 Jun 2019 02:13:25 GMT</pubDate>
            <atom:updated>2019-06-06T04:22:57.278Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7-og0BmNg8H9PpPs" /><figcaption>Photo by <a href="https://unsplash.com/@steve3p_0?utm_source=medium&amp;utm_medium=referral">Steve Halama</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>This article will cover:</p><ol><li>Who is this blog for?</li><li>Must have’s for an Android Internship.</li><li>Frequently Asked Questions(FAQ’s).</li><li>What to expect from a summer internship?</li><li>Where to look for internships?</li></ol><p>Let’s start !!</p><h4>Who is this for?</h4><p>I would keep this article as general as possible. Still, this will be highly beneficial if you are reading this in your 1st or 2nd year. Getting a good internship in summers after your 2nd year, if you are not from Tier-1 college is quite challenging but as Gary Vaynerchuk says :</p><blockquote><strong>Love The Process</strong></blockquote><h4>Must have’s for an Android Internship</h4><p>If you want to start Android development and are clueless you can first go through my blog on starting Android Development</p><p><a href="https://medium.com/@thakersamveg608/how-to-start-android-development-2e9cabad1ea4">How to start Android Development?</a></p><p>If you have some experience and look to deepen your knowledge and want to know how to write a production level code, then Internships are the best way to do so.</p><p>While hiring for a summer internship, you are mostly judged on the following:</p><ol><li><strong>Concepts</strong></li></ol><p>You must have good concepts and understanding of the basics of Android. Making an application and understanding it are two different things. One can easily make an android app just by following and copy-pasting from a tutorial. That’s how most of the people start. Questions asked are enlisted later in this article. Starting from the workflow of an Android, which is a must have to develop any level application is one of the things you should have a good grasp of.</p><p>Be updated about Android, for example, Kotlin is now the official language of Android, so it&#39;s better to start coding your application in Kotlin. You should know why it is so, as well.</p><p>Any library, concept, an element of Android you have used in your project, you must know in depth and as to why you have used it(if there was an alternative available)</p><p><strong>2. Zeal to learn</strong></p><p>When you apply to startups, for a summer internships they usually give you tasks. The aim is to see how you approach to some unseen scenarios, how you research all possible solutions and how eager are you to solve new problems. Interact and act accordingly. You will encounter new features during your brief time in the company, you must be able to solve them.</p><p><strong>3. Projects</strong></p><p>Projects are the best way to show your skills in Android. If you are in 2nd years, no one usually expects you to have a live project but it adds up a lot to your resume if you have. Try making an android application for your college committee, so that you have some users and you are able to handle some users. many bugs come up as users increases.</p><p>If you are not able to manage a live app, it’s totally fine. Maintain the Git repository of all your applications. There should be a proper <strong>Readme </strong>for your repository because when you share your work, no one will clone your repository, build your app and check. They should be able to see the application in one go. You can look at this repo as a reference :</p><p><a href="http://bit.ly/dispensary_app">thakersamveg608/Dispensary-App</a></p><p><strong>4. Git</strong></p><p>This is not really expected, but having knowledge of Git is a tremendous plus and will help you a lot during the internship. Working in a team requires great use of git, being familiar with it is obviously good. I had a lot of exposure to git before my internship and it was really helpful.</p><p><strong>5. Frequently Asked Questions</strong></p><p>I have given 25+ interviews so far, for Android Development internship. So, I have a good exposure and set of questions which are mostly asked. I would be putting the usual order of questions and their weightage but not the answer. If you already know it, it’s great, if not, google it because you will learn a lot while searching for them.</p><ul><li>Introduce yourself.</li><li>Describe one of the projects you mentioned(either they will point out which one or will ask you whichever you think is the best) in detail. What modules you made? What were the problems you faced and how did you tackle them? What were the libraries you used, why them?</li><li>Now, when your project part is over, there may be a round, where you may be asked to solve a few puzzles or some competitive programming. Usually, logics are asked, but in some cases, screens are shared and you are asked to code the complete question and they check with some test cases. Make sure you know how to calculate the complexity of a program. It is usually asked.</li><li>When you get through the above rounds, now the Android specific questions are asked.</li><li>Activity Lifecycle - This is a must question. You must know that pretty well. Fragment Lifecycle - This is rarely asked. But the difference in these life cycles is usually asked.</li><li>Activity v/s Fragment - Always asked.</li><li>Do you have any idea of integrating REST API’s. Use of Volley or Retrofit, whatever you have used. You must know in-detail, if you have used them. How to make a GET, POST, PUT, DELETE requests, adding headers, etc.</li><li>Use of Manifest and Gradle files in Android Project.</li><li>How Intent is used, code and logic. What are flags in Intent?</li><li>Question on Git may be asked. How to push, pull, commit and much more.</li><li>Some advanced questions are rarely asked :</li><li>Use of Dagger and RxJava</li><li>How to use services?</li><li>What is a broadcast receiver?</li><li>How to impement a work manager, Room database, etc.</li><li>Architecture specific questions on MVP, MVC and MVVM.</li><li>How to handle rotation in Android</li></ul><p>There are some other scenarios where screen is shared when you are asked to implement a Handler, or a Timer or a button click. This is quite rare but is definetly a possibility. You don’t need to worry, Googling is usually allowed as no one can remeber all of Android code.</p><h4>What to expect from an Internship?</h4><p>They are numerous things. The experience you are exposed to, the fast learning process, connection with team, standard coding habits, stipend, certificate cum Letter of Recommendation.</p><p>You start the learning process, long before you join internship. Giving interviews prepares you for lots of things and builds confidence inside you. Working among experienced people, increases your productivity, way of thinking(approaching problem) and many more things.</p><h4>Where to look for an Internship?</h4><p>If you are looking for an internship after your 1st and 2nd year, prefer a startup. This will help you grow immensely. Usually students go to MNC after 3rd year, where you cannot determine that you will get an Android project.</p><p>Internshala and AngelList are two good websites to look for an internship. Don’t fill in 2–3 forms and expect to get a good internship. Fill around 100 applications. You will then be continously involved in doing tasks and giving interviews, which is again a learning process because some tasks might be repeatetive in nature but some will be totally new.</p><p>I hope this article helps everyone to bag a nice internship. Feel free to ask any questions in comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7dfb3ef3452" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dsc-nit-raipur/how-to-get-an-android-internship-d7dfb3ef3452">How to get an Android Internship</a> was originally published in <a href="https://medium.com/dsc-nit-raipur">DSC NIT Raipur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to start Android Development?]]></title>
            <link>https://thakersamveg608.medium.com/how-to-start-android-development-2e9cabad1ea4?source=rss-66bda8f6c5c9------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e9cabad1ea4</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Samveg Thaker]]></dc:creator>
            <pubDate>Tue, 11 Dec 2018 06:21:46 GMT</pubDate>
            <atom:updated>2019-05-24T18:42:42.253Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pkrQ4li-GS1YcT3mJoRz0g.jpeg" /></figure><p>It is completely fine to get scared of Android Development. I am quite sure no Android Developer out there has ever been confident about Android Development in the starting. So how to start it?</p><h4>Starting Android Development and setting up the environment</h4><p>So this might be a bit difficult for starters, but then what is easy at starting. So lets first start with the discussion of OS. If you have a MacOS, its perfect. Other Operating Systems like, Windows and Linux(of your choice) work perfectly fine as well. For dual-booting of Ubuntu alongside Windows you may follow this :</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FqNeJvujdB-0%3Fstart%3D359%26feature%3Doembed%26start%3D359&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DqNeJvujdB-0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FqNeJvujdB-0%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/3b8b7ff2a8dc0f52d0c52bb8a32f7bc7/href">https://medium.com/media/3b8b7ff2a8dc0f52d0c52bb8a32f7bc7/href</a></iframe><p>Congratulations, the first step to decide your OS is complete. Now is the turn for software to be used. It is called Android Studio. There are multiple IDE’s present, but no IDE has as many tools and regular updates as Android Studio, since it is maintained my Google itself. So I would like you to follow New Boston’s video for setting up AS(Android Studio) but you can go for other sources as well. I am providing a list of sources for setting up AS.</p><p>For Windows :</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPL6gx4Cwl9DGBsvRxJJOzG4r4k_zLKrnxl&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPL6gx4Cwl9DGBsvRxJJOzG4r4k_zLKrnxl&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQAbQgLGKd3Y%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLBpanglC_UKC2SOVCpmh8NvU3bTdA&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9468862e04f8904d66b6b02443ef967e/href">https://medium.com/media/9468862e04f8904d66b6b02443ef967e/href</a></iframe><p>For Mac :</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fbr-1VuwIjd8%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dbr-1VuwIjd8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fbr-1VuwIjd8%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/6798e2b2af71c27639a351fe327a2567/href">https://medium.com/media/6798e2b2af71c27639a351fe327a2567/href</a></iframe><p>For Ubuntu or any Linux OS :</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FaxtVId9ASmY%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DaxtVId9ASmY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FaxtVId9ASmY%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/dfcbf6ad5cf4d80034038ca269feb0bd/href">https://medium.com/media/dfcbf6ad5cf4d80034038ca269feb0bd/href</a></iframe><p>You may take time to set up but don’t worry. This was the toughest part in Android Development.</p><h4>Getting started with your first app :</h4><p>Now, this sounds really cool. So let’s get straight to the point. Everyone starts with developing a basic calculator(Why? No idea. :-P). So you can follow The New Boston for it. <br>Now, don’t expect to get everything at one go. You need to have a good concept of OOPS for learning Android if you don’t do learn OOPS first. After developing this app learn few necessary topics android :</p><ol><li>Recycler View and List View(You can ignore this, recycler view is very efficient).</li><li>Networking using Retrofit and Volley(I prefer Retrofit).</li><li>Concept of shared preferences.</li><li>Integrating libraries like Glide(Image loading and caching library).</li><li>Go for API integrations like Google Maps, Firebase and as per requirements.</li></ol><p>I will be sharing my git profile here :</p><p><a href="https://github.com/thakersamveg608">thakersamveg608 - Overview</a></p><p><a href="https://github.com/ECellNitrr/ECellApp2k18">https://github.com/ECellNitrr/ECellApp2k18</a> This project has covered almost all topics and you may go through it. This is a live project and you can find this application here :</p><p><a href="http://bit.ly/ECellNitRaipur">ECell NIT Raipur - Apps on Google Play</a></p><p>After you have learned necessary topics, the next most important thing is to learn architectures for maintaining your codes. It is always good to learn the latest architecture and hence you can go for MVVM(Model View- View Model) architecture. Tutorials point has explained it, but implement it to understand it better.</p><p><a href="https://www.tutorialspoint.com/mvvm/index.htm">MVVM Tutorial</a></p><p>After you have gone through all of this, the next big thing is following good coding standards. I will be uploading a new blog for only this purpose regarding all the good coding standards you need to follow while coding for developing an android application. For now, you may go through this :</p><p><a href="https://blog.mindorks.com/android-code-style-and-guidelines-d5f80453d5c7">Android Code Style And Guidelines</a></p><p>Now, in industry, you don’t work alone. You work with 100’s or 1000’s of developers. Hence code sharing is very frequent and not possible mechanically. For this we use GIT. This is provided by many companies like Github, BitBucket etc. So you need to learn git as well. I am sharing a great source below, but Git is nothing but practise.</p><p><a href="https://www.codecademy.com/learn/learn-git">Learn Git &amp; GitHub | Codecademy</a></p><p>Last and and most important for any Android developer is to how to Google things. The errors and bugs you might be facing, have already been faced by thousands of developers already. So know how to Google and StackOverflow is your best friend.</p><h4>What’s next?</h4><p>Once you develop your first application, run it on phone and see an application working, you will be really excited to learn Android Development. So keep this spirit up, because Android Development needs a lot of motivation and hard work. You may get bore after few apps or find Android Development tough, if you give up now, then you won’t be able to learn Android forever.</p><p>Remember, own project may help you to start but they don’t let you grow. Try doing some live projects. Go for developing an android application for your college committees or do an internship somewhere. Later once you are a bit confident, you can go for freelancing as well.</p><p>Thank you for reading, hope it helped you. I will be writing more soon. Feel free to comment your queries or any advice or topics for next blog. Happy coding !!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e9cabad1ea4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>