<?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 Victoria Gonda on Medium]]></title>
        <description><![CDATA[Stories by Victoria Gonda on Medium]]></description>
        <link>https://medium.com/@vgonda?source=rss-a2890f1e3013------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sNeO_s3acwBqljAJyujPmA.png</url>
            <title>Stories by Victoria Gonda on Medium</title>
            <link>https://medium.com/@vgonda?source=rss-a2890f1e3013------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 04:58:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vgonda/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[Keeping our Navigation Safe]]></title>
            <link>https://medium.com/making-meetup/keeping-our-navigation-safe-cf422b93421c?source=rss-a2890f1e3013------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf422b93421c</guid>
            <category><![CDATA[android-modularization]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[automated-testing]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Victoria Gonda]]></dc:creator>
            <pubDate>Wed, 01 Apr 2020 19:59:45 GMT</pubDate>
            <atom:updated>2020-04-01T19:59:45.359Z</atom:updated>
            <content:encoded><![CDATA[<h3>Keeping our Android Navigation Safe</h3><p>At Meetup we try to keep the code in our Android app organized and easy to work in the best we can. One way we organize our code is through the use of feature modules. This means that a Search feature might be in one module, while an Event feature might be in another. In other words, our features each live in their own place to keep the code in an understandable order and easier to work in. It gives each module their own responsibility so we know where something is when we’re looking for it.</p><p>One thing this means is that features don’t have access to each other, keeping those distinctions clean.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/0*-7EoRXBF6VSNXd_Q" /><figcaption>App module has reference to feature modules, but feature modules do not</figcaption></figure><p>In this organization, the App module knows about Feature A and Feature B, but the feature modules don’t know about each other or about the App module. In this situation, how can you navigate from a screen in Feature A to Feature B?</p><h3>Setting up our Navigation</h3><p>Normally, without the feature module architecture, you would navigate from Feature A to Feature B by referencing the destination Activity to create the Intent, or directions. You can think of an Activity as a screen and an Intent as the directions for how to get there. It would look something like this:</p><pre>// Navigate to Feature B, referencing the activity<br>startActivity(<br>  Intent(context, FeatureBActivity::class.java)<br>)</pre><p>This is really safe and you’re almost always guaranteed that it will work. Even if you need to change the name of the feature, you can use developer refactoring tools to make sure it updates everywhere you’re using it all at once so it never breaks.</p><p>Because our feature modules don’t have a reference to each other, we need another option. Thankfully, we can use the full string name of the Activity to create the Intent.</p><pre>// Navigate to Feature B, using the activity name<br>startActivity(<br>  Intent().apply {<br>    setClassName(“com.example”, “com.example.FeatureBActivity”)<br>  }<br>)</pre><p>The downside of this is that if we change the name of the feature from Feature B to Feature C, we have to go back to every place where we have this navigation code and update the string. This can be a lot of work in a full app with many features and ways to get to them.</p><p>It can also be error-prone. What if you miss a spot? You won’t know until you run the app and it crashes when you try to navigate in the spot you missed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*EDL5lTQkcaUFRdvJlNJGOQ.png" /><figcaption>Unable to find explicit activity class FeatureBActivity</figcaption></figure><p>A common solution for this is to create an additional module that helps with this navigation. This navigation module doesn’t know about any other modules, but the feature modules know about it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/0*NA-PanwdwsFGRX3o" /><figcaption>All features reference the Navigation module</figcaption></figure><p>Now the Navigation module can handle creating the Intent with the string, and if you change the name of the feature Activity, you only need to change it in one place.</p><pre>// In navigation module<br>object Activities {<br>  fun getFeatureBIntent() = Intent().apply {<br>    setClassName(“com.example”, “com.example.FeatureBActivity”)<br>  }<br>}</pre><p>Then to use it:</p><pre>// In feature module, navigate to Feature B, using the navigation module<br>startActivity(<br>  Activities.getFeatureBIntent()<br>)</pre><p>Great! Problem solved.</p><p>…until you still forget to change the name in the Navigation module after refactoring an Activity and you find out later when the app crashes.</p><h3>Catching it Before it Crashes</h3><p>One way we make sure things are working before we release a new version of the app is by running automated tests. We run these tests regularly so we find out about issues before sharing a new version.</p><p>That sounds like a great way to ensure we always have our navigation intact.</p><p>One option might be to write tests in the navigation module to launch the Intent and see if it crashes. While that might work, it could make for some slow tests with all that Activity launching.</p><p>For another way to accomplish these tests, we need to have a reference to everything in both the navigation and feature modules. Where do we have that? In the App module!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/0*zFor1wM_-W20oguM" /><figcaption>App module has reference to all other modules</figcaption></figure><p>To write these tests, we can get the reference to the feature Activity, similar to the safe way to navigate we considered first, and compare it to what we get from the Navigation module. That way, if one of them changes without the other being updated, we’ll be notified.</p><pre>val intent = Activities.getFeatureBIntent()<br>assertEquals(<br>  expected = FeatureBActivity::class.java.name,<br>  actual = intent.component!!.className<br>)</pre><p>Voila! Now we can navigate and make changes safely and securely.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf422b93421c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/making-meetup/keeping-our-navigation-safe-cf422b93421c">Keeping our Navigation Safe</a> was originally published in <a href="https://medium.com/making-meetup">Making Meetup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Binding a Random String]]></title>
            <link>https://medium.com/victoriagonda/data-binding-a-random-string-d776f5ec305?source=rss-a2890f1e3013------2</link>
            <guid isPermaLink="false">https://medium.com/p/d776f5ec305</guid>
            <category><![CDATA[android-resources]]></category>
            <category><![CDATA[android-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[data-binding]]></category>
            <category><![CDATA[android-data-binding]]></category>
            <dc:creator><![CDATA[Victoria Gonda]]></dc:creator>
            <pubDate>Fri, 21 Feb 2020 04:11:01 GMT</pubDate>
            <atom:updated>2020-02-21T04:11:01.264Z</atom:updated>
            <content:encoded><![CDATA[<p>Consider this situation: You have an entry screen that displays a welcome message. Each time the screen is viewed it should pick a random welcome message from a list of possible welcome messages. Say in this scenario that you’re also using data binding.</p><p>You could add this randomization logic to your view model. But that feels rather overkill for assigning a resource to a text view. I ran into this exact thing and I have a solution for you.</p><p>Starting with the data, create a string array in your resource file:</p><pre>&lt;string-array name=&quot;event_attendees_empty&quot;&gt;<br>    &lt;item&gt;Welcome! 👋&lt;/item&gt;<br>    &lt;item&gt;It&#39;s great to have you here! 🎉&lt;/item&gt;<br>&lt;/string-array&gt;</pre><p>You can add as many messages as you want to this array. The data binding doesn’t care.</p><p>You also need to assign this array to your text view in the layout file. You’ll create the binding adapter for the randomString property next.</p><pre>&lt;TextView<br>  ...<br>  app:randomString=&quot;@{@stringArray/event_attendees_empty}&quot; /&gt;</pre><p>To glue it all together, create the top level function with the @BindingAdapter(&quot;randomString&quot;) annotation, making sure the annotation value matches the attribute name in your layout file.</p><pre><strong>@BindingAdapter</strong>(&quot;randomString&quot;)<br><strong>fun</strong> <strong>setRandomString</strong>(view: <strong>TextView</strong>, options: <strong>Array</strong>&lt;<strong>String</strong>&gt;) {<br>  view.text = options[<strong>Random</strong>.<strong>nextInt</strong>(options.size)]<br>}</pre><p>Here, you grab a random integer to select and assign a string from the list.</p><p>And there you have it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*osuXjmHpaK9-F4vi.png" /></figure><p>This blog post was helped out by <a href="https://stackoverflow.com/a/36905271">this StackOverflow answer</a> about how to use string arrays in data binding. Thanks!</p><p><em>Cross-posted from </em><a href="http://victoriagonda.com/blogs/2020/data-binding-random.html"><em>victoriagonda.com</em></a></p><p>Did you know I co-authored a book about testing on Android? Check it out:</p><p><a href="https://store.raywenderlich.com/products/android-test-driven-development-by-tutorials">Android Test-Driven Development by Tutorials</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d776f5ec305" width="1" height="1" alt=""><hr><p><a href="https://medium.com/victoriagonda/data-binding-a-random-string-d776f5ec305">Data Binding a Random String</a> was originally published in <a href="https://medium.com/victoriagonda">victoriagonda</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Øredev: A Conference Worth Attending]]></title>
            <link>https://medium.com/victoriagonda/%C3%B8redev-a-conference-worth-attending-6a88c6410659?source=rss-a2890f1e3013------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a88c6410659</guid>
            <category><![CDATA[oredev]]></category>
            <category><![CDATA[tech-conference]]></category>
            <category><![CDATA[conference]]></category>
            <dc:creator><![CDATA[Victoria Gonda]]></dc:creator>
            <pubDate>Tue, 12 Nov 2019 02:30:12 GMT</pubDate>
            <atom:updated>2019-11-21T02:24:38.326Z</atom:updated>
            <content:encoded><![CDATA[<p>This year I had the opportunity to speak at and attend <a href="https://oredev.org/">Øredev</a>, a general technology conference in Malmö, Sweden. This was their 15th year, and it quickly became one of my favorite of the year, a perfect way to wrap up my speaking in 2019. There was something for everyone, from engineer to product manager, and I highly recommend anyone to speak or at least attend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sEoUAcOSbXbuRC8bzs6Cww.jpeg" /></figure><h3>Topic Highlights</h3><p>I learned so many things that would make this blog post way longer than intended if I enumerated all of them, so I’ll share some of the common threads I caught and really enjoyed. If you get the chance, watching the recordings that interest you would be a wonderful idea.</p><h4>Communication</h4><p>Of particular interest to me is the topic or remote work. At Øredev I learned about a resource, <a href="https://www.collaborationsuperpowers.com/">Collaboration Superpowers</a>, that I really want to look into more. Included in here is the book, <a href="https://www.collaborationsuperpowers.com/book/"><em>Work Together Anywhere</em></a>, and <a href="https://www.collaborationsuperpowers.com/remote-resources/">supercards</a> for video calls.</p><p>The audience also learned a lot about survey bias and how “Everybody Lies.” Through looking at honest Google search data, we learned the stories data can tell. I’m looking forward to reading <a href="https://www.amazon.com/Everybody-Lies-Internet-About-Really/dp/0062390856"><em>Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are</em></a> to hear more stories.</p><p>I also <a href="https://vimeo.com/372264085">enjoyed a talk</a> about how we communicate and ways that conversations can become personal instead of constructive. By leveraging things like tone, emphasis, and body language (especially hard in remote work!), we can shift the conversation from something personal to something productive.</p><h3>Victoria Gonda on Twitter</h3><p>When you cut out words like &quot;failure,&quot; your whole team&#39;s communication becomes more positive and constructive. @BaileyHanna at #oredev</p><p><a href="https://vimeo.com/371384897">Another cool talk</a> showed a lot about how team structures and dynamics are reflected in the code. For example, it can show if there’s feature or functional teams, and if there’s a lot of turnover for those who are working on a specific section of code. This is something we can be mindful of when making people decisions.</p><h3>Victoria Gonda on Twitter</h3><p>The things we do as an organization mirrors itself in the code - @mfeathers at @oredev</p><h4>Customer needs</h4><p>From a number of talks, it became clear just how easy it is to assume what the customer needs or wants, especially when you’ve been working on a product for a long time. Even when you’re really familiar with an app, <a href="https://vimeo.com/371401583">it pays to talk to and observe the people using it</a>. Assumptions can be helpful, but only if they’re checked. This theme of checking in on the user’s needs, and optimizing for their time and resources rather than our own repeated itself throughout the conference.</p><h3>Victoria Gonda on Twitter</h3><p>Assumptions can be good, as long as they&#39;re not left unchecked - @PratikN at #oredev #oredev2019</p><p>One final lesson is that quality is more than just one team’s responsibility, but rather everyone’s. Not just engineers, not just QA, but everyone. Quality is best when everyone owns it, is willing to report places for improvements, and is excited to help.</p><p>You should definitely go back and watch these talks, and I’ll link to them here when they’re available! EDIT: You can watch them all <a href="https://vimeo.com/oredev">here</a>!</p><h4>Speaking Internationally</h4><p>Speaking at Øredev was the first time I gave a talk outside the United States. This has been on my professional bucket list, and I’m so glad this was the conference that crossed it off.</p><p>I gave two talks while I was there: <a href="https://vimeo.com/371866306"><em>Customize Your App With MLKit</em></a> and <a href="https://vimeo.com/371754334"><em>Getting Started with AndroidX Test</em></a>. The first was a new talk and the second a talk I had given before. Both of them opened up some really great conversation with other attendees, and I hope to keep in contact with those of you who I spoke with afterward!</p><h3>Mikiest Mike on Twitter</h3><p>Super clear example of using AndroidX test to check if a RecyclerView launches a detail intent. @oredev #AndroidDev from @TTGonda</p><h3>Speaker Experience</h3><p>No doubt, this was one of the best experiences I’ve had as a speaker. From the quality of communication, to the care put into gifts, and the organization of the events, I can only speak highly of this conference.</p><h4>A Swedish Experience</h4><p>From the start, I got a literal taste of Sweden through the Swedish treats gifted to me at check-in. Along with letters communicating expectations and local recommendations, I felt welcomed to the city of Malmö after my long flight.</p><p>The speaker events continued to impress. I was taken on a bus tour of the city, showing me the sights of the area and learning so much about the life of the locals. Seeing the different parts of the city gave me an appreciation of the history of the area and an understanding of the different parts of the city.</p><p>This was followed by a new experience for me: a sauna and dip in the Baltic Sea before dinner! I’ll admit, I was nervous for this event, but it turned out to be truly amazing. This was when I met many of my fellow speakers for the first time, and I’m sure many of our new connections will last.</p><p>As if that wasn’t enough, the following evening we had dinner with the mayor at the City Hall. We learned even more about the history of the city and enjoyed typical food for the area. The building was simply gorgeous and I couldn’t stop admiring the vaulted ceilings and artwork.</p><h3>Nate Ebel @ #oredev on Twitter</h3><p>Pretty sure this wins the &quot;fanciest speaker dinner&quot; award for any event I&#39;ve attended 😀</p><h4>Going Green</h4><p>Seeing my speaker gift put a smile on my face. Rather than some object that has the risk of landing in the trash or cluttering a drawer, our speaker gift was a donation to charity. This is something I hope more conferences pick up and I’ll be watching for in the future. 💚</p><p>This paired well with the swag provided to all attendees. We all got a water bottle we could use throughout the conference, rather than having the waste of many many plastic cups for water.</p><h3>Robin Moffatt @ 🍻🏃🥓 on Twitter</h3><p>👏👏Bravo @oredev. More conferences should do this 👍</p><h3>Inclusivity</h3><p>Before I close, I need to take some time to share about the inclusivity of the conference. Everywhere you saw the special care the organizers took to make the conference comfortable for as many people as possible. Two things that stuck out the most to me were the gender-neutral restrooms and the labeled food for dietary restrictions. These are two areas that sadly get forgotten so often, leaving some people uncomfortable or questioning the best option for their health. With simple pieces of paper, signs for the restrooms and labels for the foods, such a big difference was made for many attendees.</p><p>With that, I can only be grateful for my opportunity to take part of Øredev. I hope you get the opportunity to experience the same, and I hope to return next year.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a88c6410659" width="1" height="1" alt=""><hr><p><a href="https://medium.com/victoriagonda/%C3%B8redev-a-conference-worth-attending-6a88c6410659">Øredev: A Conference Worth Attending</a> was originally published in <a href="https://medium.com/victoriagonda">victoriagonda</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chicago Roboto 2019]]></title>
            <link>https://medium.com/victoriagonda/chicago-roboto-2019-dac53b214867?source=rss-a2890f1e3013------2</link>
            <guid isPermaLink="false">https://medium.com/p/dac53b214867</guid>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[chicago]]></category>
            <category><![CDATA[tech-conference]]></category>
            <category><![CDATA[android-development]]></category>
            <dc:creator><![CDATA[Victoria Gonda]]></dc:creator>
            <pubDate>Fri, 03 May 2019 02:12:31 GMT</pubDate>
            <atom:updated>2019-06-07T00:22:06.763Z</atom:updated>
            <content:encoded><![CDATA[<p>Another <a href="https://chicagoroboto.com/">Chicago Roboto</a> has come and gone, this one just as great as the last time I attended. I was sad to miss last year’s and was glad to be able to attend and speak at this one. I always enjoy my time with the community and connecting over the great selection of talks. This year, and last, the Android conference was located at Chez Chicago right by the Magnificent Mile, the perfect location!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n9-wzE_pY-tsNTOEe7AIpA.jpeg" /><figcaption>Chicago Roboto 2019 Banner- Photo Credit: Saket Narayan</figcaption></figure><h4>Great Talks</h4><p>There was a great talk selection covering things both old and new. For the last two years Chicago Roboto has been a single track conference, meaning you don’t have to make the hard decisions between what talk to attend! You can see them all. And you want to too because the line up is spectacular.</p><p>This year held everything from the newest, shiniest libraries like WorkManager that we learned about from <a href="https://twitter.com/AdnanM0123">Adnan A M </a>in <a href="https://twitter.com/AdnanM0123/status/1122343434822606853"><em>Putting Work Manager To Work</em></a>, and Navigation Architecture Components with <a href="https://twitter.com/emmax">Eric Maxwell</a> in <a href="https://twitter.com/emmax/status/1121795302439043073"><em>Going Deep w/ Navigation</em></a>; to some history learning about the ever present Themes with <a href="https://twitter.com/MarkIAllison">Mark Allison</a> in his talk <a href="https://twitter.com/MarkIAllison/status/1121878974416683011"><em>Theme On</em></a> and more insightful learnings in <a href="https://docs.google.com/presentation/d/1utIvZ4SAGtekhqjTfH9Qn1z-SlIyEzcw60PRaebIwVk/edit?usp=sharing"><em>A History of Android Launchers</em></a> with Kevin Barry. <a href="https://twitter.com/objcode">Sean McQuillan</a> covered both ends by looking at where coroutines came from and where we are now in his talk <em>Launching into Coroutines</em>.</p><h3>Britt Barak 🗽 nyc on Twitter</h3><p>Are coroutines a fad? @objcode teaches us on coroutines (not only in Kotlin!) Past, present &amp;amp; future. Another great talk at #ChicagoRoboto</p><p>I also learned a great deal about animations from both <a href="https://twitter.com/jossiwolf">Jossi Wolf</a> with <a href="https://twitter.com/jossiwolf/status/1121504498940284928"><em>Exploring MotionLayout</em></a> and <a href="https://twitter.com/Saketme">Saket Narayen</a> in <em>Behind The Scenes of Building a Gesture Driven Reddit App</em>. Definitely included some tips I want to bring back to work with me.<em> </em><a href="https://twitter.com/n8ebel/status/1121872301622988800"><em>Automate the Small Things</em></a> from <a href="https://twitter.com/n8ebel">Nate Ebel</a> included some ways to automate some everyday tasks that I want to bring back to make our workflows smoother.</p><h3>Jossi Wolf on Twitter</h3><p>Super helpful talk with many amazing tips by @n8ebel about automating small things to help improve processes like PR reviews🤓😍 #ChicagoRoboto</p><p>While all the talks were great, I think the day two keynote was my favorite of the two keynotes. <a href="https://twitter.com/jordansbeck">Jordan Beck</a> shared <em>The Engineer’s lifecycle: onCreate to onDestroy (and all the stuff in between)</em> that brought a lot of perspective about what an engineer’s “lifecycle” might look like. I especially liked the idea around celebrating the maker path.</p><h3>Victoria Gonda on Twitter</h3><p>Can we better celebrate a long engineering career?&quot; - @jordansbeck on the maker path vs the pressure to enter the manager or architect path at #chicagoroboto</p><p>I was also excited to share a new talk of mine: <a href="https://twitter.com/TTGonda/status/1121836376901787649"><em>Getting Started with AndroidX Test</em></a>. In it I cover the new AndroidX Test libraries which have some exciting new things for Android testing, as well as some existing libraries brought under the new namespace. I’ll be revamping it after Google I/O in a few days, and I can’t wait to bring it to the next conference or meetup. 😉</p><h3>Dan Kim on Twitter</h3><p>I ask myself this question every day, @TTGonda. 😅 #ChicagoRoboto</p><p>Be sure to keep your eye out for the recordings!</p><p>Edit: Here are the recordings!</p><p><a href="https://chicagoroboto.com/session-videos/">Session Videos - Chicago Roboto 2019</a></p><h4>Community</h4><p>I can never talk about Chicago Roboto without talking about the community focus. It’s one of my favorite things about it. Not only is the community of attendees amazing to get to meet and catch up with, but it shows that the organizers care about the community. You know they listen to the attendees and want to make it the best experience possible.</p><p>The conference is also great at giving back to the community. For example, instead of having a catered lunch at the venue, we had lunch vouchers to get out into the city and support some local restaurants. It’s a great way to get us out of the venue to see a little more of the city and give back to the locals.</p><p>Speaking of community, we were able to share the family friendly space with some of our Chicagoans who got to tour the space with their kids. Maybe someday Chicago Roboto will provide childcare for an even more inclusive space. <em>hint hint, wink wink!</em></p><h3>Ryan Harter on Twitter</h3><p>Really glad Milo and I got the chance to make it to #ChicagoRoboto this year, albeit briefly.</p><h4>Thanks Sponsors</h4><p>I’d also like to give a huge thanks to the sponsors who made this event possible.</p><h3>Eric Maxwell on Twitter</h3><p>Awesome party at the @Nerdery #ChicagoRoboto</p><p>Without them, this great event wouldn’t happen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qtTz0qqC1cm4-OQVxXWw7Q.png" /></figure><p>Until next year! 👋</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dac53b214867" width="1" height="1" alt=""><hr><p><a href="https://medium.com/victoriagonda/chicago-roboto-2019-dac53b214867">Chicago Roboto 2019</a> was originally published in <a href="https://medium.com/victoriagonda">victoriagonda</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advice for Writing Abstracts]]></title>
            <link>https://medium.com/victoriagonda/advice-for-writing-abstracts-8ef259498676?source=rss-a2890f1e3013------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ef259498676</guid>
            <category><![CDATA[public-speaking]]></category>
            <category><![CDATA[abstract-writing]]></category>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[cfp]]></category>
            <dc:creator><![CDATA[Victoria Gonda]]></dc:creator>
            <pubDate>Sun, 20 Jan 2019 18:57:00 GMT</pubDate>
            <atom:updated>2020-02-17T20:57:09.503Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D78k9UUBZsgZWmL8MhNCTw.jpeg" /></figure><p>I recently have the privilege of being on the review panel for <a href="https://twitter.com/chicagoroboto">Chicago Roboto</a>. This included reading all the abstracts (just abstracts without names attached), and rating them. This is the second time I’ve done this, and enjoyed the experience every time. Not only am I happy to help out a conference I support, but it’s also exciting to have a look into what is making the community excited, and what I can learn from them.</p><h3>Victoria Gonda on Twitter</h3><p>Looking at a list of talk submissions is one way to know what&#39;s popular in a community. Getting ideas on what I want to be learning! :)</p><p>Through reading these proposals, I noticed some general trends. Some things I thought worked well, and others that could be improved upon. I’ll share my thoughts here that they might help you in preparing for your next talk proposal.</p><p><strong><em>Note:</em></strong><em> These ideas are my own and do not reflect the decisions of the conference organizers. Sometimes they didn’t even affect my rating of a talk if I liked everything else. Take this with a grain of salt, and realize these are opinions.</em></p><h3>Please Proofread</h3><p>It makes me sad to see a really great abstract that’s missing this layer of polish. Make sure the right forms of words are used, and capitalization is consistent. Double check your punctuation and spacing. It makes me think of a blog post from <a href="https://twitter.com/allie_p">Allison McMillan</a> where she also gives suggestions for filling out a CFP.</p><blockquote>You would be amazed at how many proposals are submitted with typos. Please, please, PLEASE, spell check. Read through your proposal, have a friend read it over, have anyone read it just to make sure there aren’t typos.</blockquote><p>You can read the full post <a href="https://collectiveidea.com/blog/archives/2017/02/21/how-to-write-a-more-effective-conference-proposal">here</a>.</p><p><a href="https://collectiveidea.com/blog/archives/2017/02/21/how-to-write-a-more-effective-conference-proposal">How to Write a More Effective Conference Proposal | Collective Idea</a></p><p>While I’m sure it is rarely the case in reality, a proposal that is incomplete in this way implies: “The writer can’t take the time to write a polished proposal, so how can I trust they’ll put the effort into creating the talk?”</p><p>If you don’t have anyone close to look over it for you, head over to the internet. Ask people in a Slack community you’re in, or find that speaker you like on the Twitter. The worst you hear is “no” or no answer, and the best you have an improved abstract!</p><p>This does mean you have to finish writing your abstract in time to let someone review it. This is on you to think ahead. Put the reminder in your calendar for the due date a week in advance if need be. Anything that works for you to ask for feedback while being respectful of the reviewer’s time.</p><h3>Respect Anonymous Voting</h3><p>Some conferences have a round of anonymous voting on the abstracts. This encourages speakers from diverse backgrounds, new speakers, and cuts back on only hearing from the “big names” the day of the conference. This is the case for what I took part of, specifically this round of anonymous voting.</p><h3>Chicago Roboto on Twitter</h3><p>245 submissions for #chicagoroboto 2019! Good luck to all, and can&#39;t wait to see the review panel results! Grab your ticket before the rush! https://t.co/YbNI20YkBk</p><p>It becomes really difficult to give an unbiased score on the abstract when you include your name or company. Use the abstract to describe what the talk is about, and your bio to share about you and your company. The notes section is also a great place to sell yourself and share links. When the organizers are ready to look at the <em>who,</em> they have access to these things to look at. Your bio will also be available for the attendees skimming through abstracts to decide what talk to go to. Remember most audience members wont spend much time reading it to decide, so you want only the most important details.</p><h3>Know Who’s Reading</h3><p>When I’m looking at a list of talks to decide what I want to go to, I like to know what I’m going to get out of it if I go to that talk. This can be communicated with such subtle differences. Rather than saying what you will talk about, you say what the audience will learn.</p><p><a href="https://twitter.com/chiuki">Chiu-Ki Chan</a> shared a great formula for writing a catching abstract in her talk “How to be an Android Expert.” You should watch the whole talk, but these tips I’m referencing are in <a href="https://slideslive.com/38900610/how-to-be-an-android-expert">this video</a> starting at 26:47:</p><p><a href="https://slideslive.com/38900610">Chiu-Ki Chan | How to be an Android Expert</a></p><p>If you don’t have the time to watch the video right now, here’s a summary of some of her tips:</p><ul><li>Start with the “what.” What is the topic the talk is about.</li><li>Then give a bit of detail, some description. Often lots of keywords might be here.</li><li>Share what the listener will learn, and what the takeaway will be.</li><li>“YOU” is a keyword to use. Again, what will the audience will get instead of what you will give. It’s subtle, but makes a difference.</li></ul><p>I hope this is helpful for you when preparing your next abstract. Feel free to ask me any questions you might have! Again, these are all my own opinions. What do you like to see in an abstract?</p><p><em>Header photo by </em><a href="https://unsplash.com/photos/8XddFc6NkBY?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"><em>Art Lasovsky</em></a><em> on </em><a href="https://unsplash.com/search/photos/writing?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"><em>Unsplash</em></a></p><p><strong>Did you know I co-authored a book about testing on Android?</strong> Check it out:</p><p><a href="https://store.raywenderlich.com/products/android-test-driven-development-by-tutorials">Android Test-Driven Development by Tutorials</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ef259498676" width="1" height="1" alt=""><hr><p><a href="https://medium.com/victoriagonda/advice-for-writing-abstracts-8ef259498676">Advice for Writing Abstracts</a> was originally published in <a href="https://medium.com/victoriagonda">victoriagonda</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Live Templates to Write Tests]]></title>
            <link>https://medium.com/buffer-engineering/using-live-templates-to-write-tests-8d8041e390d3?source=rss-a2890f1e3013------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d8041e390d3</guid>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[intellij]]></category>
            <category><![CDATA[android-studio]]></category>
            <dc:creator><![CDATA[Victoria Gonda]]></dc:creator>
            <pubDate>Tue, 08 Jan 2019 15:29:07 GMT</pubDate>
            <atom:updated>2019-01-08T15:29:07.873Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QVgcM0DyKBXPbvAy6RwDZQ.jpeg" /></figure><p>At Buffer we strive to have at least all new code tested, and to add tests for legacy code when we can. This helps us catch bugs before they’re released, and watch out for regressions. This also leads to a notable amount of time spent writing tests. And let’s face it, that can get repetitive.</p><p>There are some things that can help, like helper functions, factories, and test robots. Still, there’s a number of things you find yourself repeating. Is there a way to improve this?</p><p>I’ve saved some time by starting to use <a href="https://www.jetbrains.com/help/idea/using-live-templates.html">Live Templates</a> in Android Studio. <strong>Live Templates are a great way to let the editor do the repetitive work for you.</strong> You might even be using the pre programmed ones already!</p><blockquote><em>By using Live templates, you can insert frequently-used constructions into your code.<br></em>– <a href="http://jetbrains.com/">JetBrains.com</a></blockquote><p>When using Live Templates, you can start typing a shortcut, and by pressing Enter/Return the editor inserts most of your code for you!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/0*san3Qdwuyz-M5Ihx.gif" /></figure><p>You can make your own for any code snippet you find yourself writing often. One of these that I have is for creating a test function with the @Test annotation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/0*blF2Ef3I6k_aCqxu.gif" /></figure><h3>Creating a Live Template</h3><p>To create a Live Template, in Android Studio or IntelliJ open Preferences ‣ Editor ‣ Live Templates. In this window, you can explore some of the existing templates you can use, what their shortcuts are, and edit the shortcuts and generated code. This is also where you can create a new template. You do this by selecting what group you want it in, and clicking the “Add” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/0*43q3WxNJrI9MdLZ8.png" /></figure><p>To create this test function template, here you need to add</p><ol><li><strong>An abbreviation</strong>: This is the shortcut you’ll type to trigger the autocomplete of the template.</li><li><strong>A description</strong>: This is a description of what the template is to show in the autocomplete dropdown.</li><li><strong>Template text</strong>: This the the main logic for what is included when you use the template</li><li><strong>Applicable context</strong>: This is where you can use the template. I generally default to anything Kotlin, but you can be as specific as you want.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/0*JwKtZvnkrTn1BGBP.png" /></figure><p>The abbreviation and description can be whatever makes sense to you. I like using test for my shortcut here.</p><p>As for the template text, most of what you see is inserted as is, with the exception of the variables. The variables are what you see surrounded by dollar signs ($&lt;variable_name&gt;$). These are what allow your input when using it, and two are here.</p><ul><li>The first, $NAME$, is where the test function name will go. When inserting the template, the cursor will jump there to enter the function name. These variables can be whatever you want them to be.</li><li>The second, $END$ is a special keyword variable. This one says that after you complete all the other variables, end with the cursor here. It is optional, but make sense to add it here so you can start writing the test right away! If you omit this variable, the cursor would be at the end, after the closing curly brace.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/0*qNg-gw42gxXFyRYK.gif" /></figure><p>This is a good starting point, but I wanted more. This is a very simple thing, but how can I use Live Templates for some of the more complex things?</p><h3>Advanced Live Template Options</h3><p>In our tests, we use <a href="https://site.mockito.org/">Mockito</a>, which means we’re often making mocks, and stubbing functions. We have helper functions to use throughout the tests for this. I wanted to make creating these stub helpers quicker.</p><pre>val mockUpdateHelper: UpdateHelper = mock()</pre><pre>private fun stubUpdateHelperCalculateScheduleTime(value: Long) {<br>  whenever(mockUpdateHelper.calculateScheduleTime())<br>        .thenReturn(value)<br>}</pre><pre><a href="http://twitter.com/Test">@Test</a><br>fun editUpdateScheduledTimeCalculatesScheduledTime() {<br>  stubUpdateHelperCalculateScheduleTime(<br>      TestDataFactory.randomLong())<br>  // Rest of test<br>}</pre><p>There are some things to notice here when looking at stubUpdateHelperCalculateScheduleTime(). In addition to the structure of the method syntax, there’s duplication of the mock object name, and the method that’s mocked in the function signature. We also see the input variable value used both where it’s passed in, and where it’s used. It seems like a good candidate for a Live Template.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/0*X9mn97k5nMJieoqP.png" /></figure><p>Now there is A LOT going on here. To break it down:</p><ul><li>$TARGET$ is the name of the mocked object, “UpdateHelper” from the above example. Notice that “mock” is in the template instead of being input with the variable. This is to keep the pattern of using “stub” in the function signature, but “mock” in the variable name. The template uses $TARGET$ in two places, once in the function signature, and once as part of the input to the whenever() call.</li><li>$PARAM1$ is the name of the input parameter, “value” in the above example. This is used as the input parameter to the stub function, and then passed into the thenReturn() function. $PARAM1TYPE$ is only used the one time, and is so you can specify the type of the parameter.</li><li>$METHODNAME$ takes a bit more explanation. I want it to be the same as $METHOD$, so one option would be to just use that. However, I want the first letter to capitalized in the function signature, but lowercase when it’s called. This is where we get into a little more complex templating.</li></ul><p>Live Templates has some <a href="https://www.jetbrains.com/help/idea/template-variables.html#predefined_functions">predefined functions</a> you can use. One of these is capitalize(). Perfect! But it’s not straightforward how to use them. To use this function, you need to open the “Edit variables” window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/0*lMh9eoka9FxBUURp.png" /></figure><p>There are a number of rows and columns here. <a href="https://www.jetbrains.com/help/idea/using-live-templates.html">JetBrain’s website</a> explains all of them. I’m only going to talk about “Name” and “Expression”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/0*Gt4yrjmLr7Tq_Z38.png" /></figure><p>To start, it has a list of your variables you’re using. One of the most basic things you can do is change the order they will be filled. You do this by selecting a variable, and using the up and down arrows at the bottom of the window.</p><p>I need the $METHOD$ variable filled before I can evaluate the $METHODNAME$ variable, so I’ll move $METHODNAME$ down below $METHOD$. By using this order I can also make sure I have autocomplete for my function name.</p><p>Now in the “Expression” column I can use the predefined function. In this column you can use “String constants in double quotes, the name of another variable defined in a live template, or predefined functions with possible arguments.” I use capitalize(METHOD) so it takes the value in $METHOD$, passes it to the capitalize() function, and uses the result for $METHODNAME$.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/0*VfiiLWtxFkV1nrAK.gif" /></figure><h3>Live Template Uses</h3><p>This is one way I make writing tests quicker, easier, and less tedious. There are plenty of places where you can use Live Templates, both in your tests and other code. I often start by copying an example of the code I want to generate into the template text window, then start replacing things with variables. I’ve even used them to create temporary templates that I might be making a bunch of that day, but not many after. For example, this one to test a function for a number of different social networks, for a number of different inputs.</p><pre><a href="http://twitter.com/Test">@Test</a><br>public void bufferPinterestPostWithVideoShowsErrorMessage() {<br>  SocialNetworkStatus status = <br>    bufferPostWithVideo(SocialNetwork.Pinterest.INSTANCE.getType());</pre><pre>  assertEquals(status.profile.getType(), <br>    SocialNetwork.Pinterest.INSTANCE.getType());<br>  assertEquals(status.dataType, StatusType.STATUS_ID_MISSING_TEXT);<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/0*mLKC8oSdU2HIQfiB.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/0*ZWY_fA_d5agxC04E.gif" /></figure><p>I hope this was helpful! Is there a place where you like to use Live Templates?</p><p><em>Header photo by </em><a href="https://unsplash.com/photos/m9qMoh-scfE?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"><em>Sergey Zolkin</em></a><em> on </em><a href="https://unsplash.com/search/photos/blueprint?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"><em>Unsplash</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d8041e390d3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/buffer-engineering/using-live-templates-to-write-tests-8d8041e390d3">Using Live Templates to Write Tests</a> was originally published in <a href="https://medium.com/buffer-engineering">Buffer Engineering &amp; Data</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using the Kotlin stdlib in Java code]]></title>
            <link>https://medium.com/victoriagonda/using-the-kotlin-stdlib-in-java-code-2565818ba016?source=rss-a2890f1e3013------2</link>
            <guid isPermaLink="false">https://medium.com/p/2565818ba016</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[jvm]]></category>
            <dc:creator><![CDATA[Victoria Gonda]]></dc:creator>
            <pubDate>Mon, 03 Dec 2018 18:05:26 GMT</pubDate>
            <atom:updated>2020-02-17T20:56:09.801Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hV7sN6Q5QXGvxj4x7g-4wA.png" /></figure><p>Kotlin introduces a lot of great helper methods for us. Some of these include String helpers such as this one to capitalize the first character of a String.</p><pre>&quot;some string&quot;.<em>capitalize()</em></pre><p>Many of us have created something such as a StringUtils class in Java to build our own of these methods before we were using Kotlin. One of the great things about Kotlin is that it eliminates the need for many of these util classes! What’s more, is that Kotlin has extension functions so it gives the illusion that any of these helper methods we do make we can call on an instance of an object.</p><p>This is awesome. However, many of us are working in mixed projects, using both Kotlin and Java. Because of that, we might be tempted to keep around our Util classes for use in the Java parts of our code. This seems unfair, but what else are we expected to do? This bit of code duplication seems necessary if our project isn’t fully in Kotlin.</p><pre>public static String capitalize(String original) {<br>    if (TextUtils.<em>isEmpty</em>(original)) {<br>        return original;<br>    }<br><br>    return original.substring(0, 1).toUpperCase() +<br>            original.substring(1);<br>}</pre><p>I don’t like this duplication. Kotlin already provides this method, and we already have Kotlin in our project. There must be a way reuse this, right? The interop is so great otherwise.</p><p>Kotlin uses Java String and is able to provide these additional functions through the use of extension functions. If you decompile the code, extension functions are little more than the static utility methods you make in Java. Another thing we can learn is that the class name is the same as the file name.</p><p><a href="https://collectiveidea.com/blog/archives/2017/06/20/kotlin-uncovered-part-5">Kotlin Uncovered: Part 5 | Collective Idea</a></p><p>From this information, we should be able to use these static functions in our Java as well! To do this, we have to know the name. For these String extensions, they are found in StringsKt. Import that, and you can use them all!</p><pre>import kotlin.text.StringsKt;</pre><p>In Java you can’t use the same syntax to call the extension function right on the object. It should be used just like a static method here, considering that’s exactly what it is.</p><pre>StringsKt.<em>capitalize</em>(day)</pre><p>Yay! You can now eliminate some of those util methods and use Kotlin extensions in those places.</p><h4>Where are these functions?</h4><p>So that’s where the String extensions are. How did I find them, and how can you find the extensions for other classes? Answer: let the editor help you!</p><p>There are probably a number of ways you can locate these, but I let Android Studio help me. This will work in IntelliJ too.</p><p>To start with, I looked at the extension function I was looking for with the autocomplete in a Kotlin file. In the dropdown by the capitalize function there’s some addition data “for String in kotlin.text.” Especially that “kotlin.text” should look familiar from the import.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*4fvCU8mXF_5N94iuZtHr0Q.png" /><figcaption>Kotlin autocomplete for String.capitalize()</figcaption></figure><p>Then I moved to my Java file. I know that unless there was an annotation placed otherwise the class is named after the filename. From the information above “StringKt” is a good guess. The autocomplete has “StringsKt” as an option, so that’s a good bet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*YVi1FG6xkdCfSBqoS0RNoQ.png" /><figcaption>Java autocomplete for StringKt</figcaption></figure><p>This turns out to be the exact class I needed to call that extension function! I hope you found this helpful. Do you have any other tricks you like using?</p><p><em>Header photo by </em><a href="https://unsplash.com/photos/YzSZN3qvHeo?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"><em>Gary Chan</em></a><em> on </em><a href="https://unsplash.com/search/photos/recycle?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"><em>Unsplash</em></a></p><p><strong>Did you know I co-authored a book about testing on Android?</strong> Check it out:</p><p><a href="https://store.raywenderlich.com/products/android-test-driven-development-by-tutorials">Android Test-Driven Development by Tutorials</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2565818ba016" width="1" height="1" alt=""><hr><p><a href="https://medium.com/victoriagonda/using-the-kotlin-stdlib-in-java-code-2565818ba016">Using the Kotlin stdlib in Java code</a> was originally published in <a href="https://medium.com/victoriagonda">victoriagonda</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Organizing my remote day]]></title>
            <link>https://medium.com/victoriagonda/organizing-my-remote-day-5a7d87c7edcf?source=rss-a2890f1e3013------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a7d87c7edcf</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[remote-work]]></category>
            <category><![CDATA[distributed-teams]]></category>
            <dc:creator><![CDATA[Victoria Gonda]]></dc:creator>
            <pubDate>Fri, 09 Nov 2018 19:10:45 GMT</pubDate>
            <atom:updated>2018-11-12T14:47:05.871Z</atom:updated>
            <content:encoded><![CDATA[<p>Working remotely with a global team means I have a lot of flexibility with the structure of my day. It also means I have communication coming from multiple different directions, and from different time zones. How do I organize this, stay productive, and stay sane?</p><p>While I enjoy the flexibility, I am also a creature of habit. My routine evolves as I learn more about the way I work, but each day follows a similar pattern. If something comes up, I’m happy and thankful I can adjust for it, however on a “normal day” my schedule is more or less the same. It starts to trigger my anxiety if I have too many days away from routine.</p><h3>Starting my day</h3><p>When it comes to working remotely, people often talk about making sure they have a hard stop at the end of the work day to separate personal and work time. I also like to make sure I have a clear start time. Otherwise, I’m the person who might sleep in way too late, even if I go to bed early. I have two things that help me with this.</p><ol><li>My partner works an office job with comparatively strict hours. We’ve established a pattern where we always get up at the same time in the morning, no matter how much I whine about wanting to sleep longer. I enjoy the time we spend together in the morning, and seeing him off to work. And the minute he walks out the door is when my work day starts. I make my coffee or tea, and head to my desk. This means I’m almost always online between 8:30 and 9:00.</li><li>I also schedule most of my meetings for the morning. This happens naturally having many of my meetings with teammates in Europe while I’m in the United States, but it also really helps with establishing the “hard start” of my day.</li></ol><h3>Morning work</h3><p>My mornings are generally focused on communication and planning. The very first things I do are go over what I did the day before, make a to do list for the day, and catch up on messages. Most mornings I also have a sync with the Android team to catch up on what we’ve been working on the past 24 hours, discuss any issues, and make plans.</p><h3>Messages</h3><p>While reading through messages, I also use them as a task list for later in the day in addition to the lists I write in my notebook. I have many of my notifications from the various tools we use at Buffer to send as an email. When initially opening messages, I don’t always take action first thing in the morning if it will take much time or thought. If it’s a long email I want to take my time reading and/or responding to, I’ll mark it as unread and move onto the next one. If it’s something I plan on waiting on until another day, I’ll use the Gmail “Snooze” feature to hide it until I think I will get to it. This way, at the end of my morning everything in my inbox is a task to be accomplished, whether it’s a GitHub notification about a PR I need to look at, or an announcement I want to take time reading. Most unimportant to me things I have filtered out so they aren’t in my main inbox, and can look at them as I have the time. This speeds up this step in the morning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/0*7brrZ1ytdAPzuwKJ" /><figcaption>Slack option for “Remind me about this”</figcaption></figure><p>I follow a similar pattern catching up on Slack messages. If there is a conversation I want to come back to to read more closely, or take some time to respond to, I’ll use the “Remind me about this” feature and schedule it for when I think I’ll get to it. If I don’t look at it right away, it has a nice slackbot notification that will hang around as a task for me.</p><h3>Planning</h3><p>Now I have task lists in multiple different places. How do I manage that? They each take a slightly different role.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/0*q5M_5jbCD1nMpSQ6" /><figcaption>My email divided into GitHub, Jira, and Inbox</figcaption></figure><p>My email has notifications and messages. I have the notifications automatically labeled and grouped to make them more manageable. I have GitHub notifications together, Jira together, and other messages together. This essentially gives me three to dos, with sub tasks under each one. I’ll have items in my master to do list in my notebook for taking care of the GitHub and Jira groupings. The other messages will be left to look at in between tasks.</p><p>The messages in Slack will be another thing left for in between tasks. This might be while I’m waiting for Gradle to build, or in a gap of time before a meeting.</p><p>My notebook is my master list. It will have notes about tasks I’m working on, to do lists for the day, and longer term goals. I generally have one page for the day, then possibly other pages if I’m taking notes while working through things. Items or goals that are likely to be there for multiple days I put on post its that I can move from one day to the next without rewriting.</p><h3>Meetings</h3><p>Batching my meetings in the morning helps with a number of things. The first is that it is often the most convenient for everyone as most on my team are online during my mornings. By scheduling things then, we can accommodate for the time differences.</p><p>The other reason I like grouping meetings in the morning is it allows for uninterrupted afternoons where I can get into a deeper flow.</p><h3>Communication</h3><p>I also try to get as much communication as I can in the mornings, for very similar reasons as the meetings. This is especially the case for time zones if a quicker answer is helpful. In the space between the start of my day and when I stop for lunch, I try to respond to what I can, and ask any questions I need answers to. This is important if I need clarification on a ticket I plan to work on that day, or if I have a question about a PR review. This gives the responder time to see it before they log off if they are only online during my mornings.</p><h3>Filling time until lunch</h3><p>Once I finish catching up there, I start moving closer into code-land. Before I go to lunch I like to get as much as reasonable taken care of in my GitHub bucket of tasks. This includes reviewing pull requests, and responding to comments on mine either by changing the code or providing an explanation. Sometimes this time also includes responding to questions on Jira tickets.</p><p>I eat a light breakfast, and a pretty early lunch around 11:00, so there is usually very little time to start other things, but on a light day, I might also start working on a coding task before I step away. This is usually continuing on something I was already working on, or doing the preliminary set up and research for whatever new things I’m starting.</p><h3>Lunch time</h3><p>I always almost always eat my lunches at home, but I make sure to always take that time away from my home office. I feel like that separation is important for a break in the afternoon. I take the time to prepare my lunch, and sit down to enjoy it while catching up on the news.</p><p>I try to take a full hour for lunch break, but only take about 20 minutes to eat. There’s a couple things I do with the rest of that time. One is to take a short nap. If you didn’t catch on from my talk about starting my day, I enjoy sleeping. You might even call it a hobby.</p><p>What I’ve recently been trying to do with that time instead is to go on a walk. Not having a commute to an office every day is great, but it makes it really hard to get out. We have a great park that I like walking to, and it’s healthy for me to get out and moving. It’s hard to keep this up as it gets colder outside.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9PJyuHoXyzZzbNvU" /><figcaption>Trees with orange leaves, shore of a lake, skyscrapers in the background</figcaption></figure><h3>Afternoon</h3><p>My long afternoons <em>feel</em> the most productive. The communication, planning, and small tasks I get done in the morning are important, but there is a sense of accomplishment from submitting deliverable code. This time is important for flow. I often close Slack and other messengers during this time to avoid distractions. If someone DMs me something urgent, I’ll get the notification through email or on my phone.</p><h3>Coding</h3><p>I guess this is the main part of my job description. While I do some programming in the morning before lunch, the afternoon is when I get the bulk of it done. I’m more focused and ready to work through problems. I’ll be finishing things from other days, picking up Jira tasks, working on long time goals, fixing bugs, etc. While the morning my browser is where I spend most my time, Android Studio gets all the attention now. With my cat in my lap, I have my git commands ready.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gT_QH6rNQ5ecws-p" /><figcaption>Cat sitting next to a laptop</figcaption></figure><p>In between tasks and during Gradle builds, I’ll pick up some unrelated smaller things. This might be messages I snoozed in the morning, or reading a blog post. The timing on when I take breaks and what I do in them is a bit less structured. They usually happen naturally between Jira tickets, or when I just need to look away from the code. I’ll decide then if I want to pick up reading a blog I have saved in Pocket to read, or check off one of my other tasks. Because I take such an early lunch, at least one of these breaks usually includes a snack.</p><h3>Learning</h3><p>I do some reading between coding tasks, but you can only fit in so much in that time. I try not to start anything new too close to the end of my day. When I finish a task and don’t have enough time left in the day to significantly work on a new one, I’ll go into learning mode. This could be experimenting with something new, catching up on blog posts, or reading a book. I’m currently working on reading Refactoring by Martin Fowler.</p><h3>Ending my day</h3><p>Working from home it can sometimes be hard to define the end of your day, and unplug from work. For me, work is over when my partner gets home from his job. When he walks in, I can finish my thought, but then I walk away. If I do anything on my computer after that, it’s non work related, and I move to a room other than the office. That event is the signal to the end of my work day.</p><p>This all is representative of a typical day for me. There are plenty of things that cause it to change. I also enjoy taking some days to work from a coffee shop or on the road. I use this as an ever evolving guide to structuring my work day.</p><p>How do you structure your day? Do you have any tips that help you out? I’m always improving my routine and I would love to hear what you have to say!</p><p><em>Huge thanks to </em><a href="https://twitter.com/nmillerbooks"><em>Nicole</em></a><em> for the help reading through and editing this post 🤗</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a7d87c7edcf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/victoriagonda/organizing-my-remote-day-5a7d87c7edcf">Organizing my remote day</a> was originally published in <a href="https://medium.com/victoriagonda">victoriagonda</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Announce Your Actions: Making gesture actions accessible]]></title>
            <link>https://medium.com/buffer-engineering/announce-your-actions-making-gesture-actions-accessible-d03f6288ea32?source=rss-a2890f1e3013------2</link>
            <guid isPermaLink="false">https://medium.com/p/d03f6288ea32</guid>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[talkback]]></category>
            <category><![CDATA[accessibility]]></category>
            <dc:creator><![CDATA[Victoria Gonda]]></dc:creator>
            <pubDate>Mon, 10 Sep 2018 20:36:01 GMT</pubDate>
            <atom:updated>2018-09-10T20:36:01.434Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ideqUX_dBjFTv88ls7S-bw.jpeg" /><figcaption>Orange megaphone with orange background</figcaption></figure><p>We’re working towards better accessibility for our Android apps here at Buffer. That’s why when we recently added a new feature to <a href="https://buffer.com/reply/">Reply</a>, we took a little extra time to make sure it was accessible. This feature includes some swipe gestures: a user can swipe left or right on a item in a list of conversations to perform some action on that conversation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/0*24sn8VtCB1v6YPwF.gif" /><figcaption>Gif displaying swiping a list item to perform an action</figcaption></figure><p>This is great for quick management of the list, but leaves out people using <a href="https://developer.android.com/training/accessibility/testing#talkback">TalkBack</a> or who have motor impairments that may struggle with swipe gestures. TalkBack is an accessibility tool that people with low or no vision use. It traverses the screen, and reads aloud the elements so they can understand and navigate the app without sight. We try to keep in mind how our app interacts with this tool, and discovered that these swipe actions do not work well with it. When navigating the app this way, it does not allow for swiping. In this <a href="https://www.raywenderlich.com/182100/android-accessibility-tutorial-getting-started">tutorial</a> you can find out more about what TalkBack is and how you can try it out.</p><p>This opened up an opportunity for a great conversation on how we could make this important feature accessible for more people. There were lots of great ideas shared on how we could provide other ways to access these actions. Adding a drop down menu to the item? Exposing the actions in the view after a user clicks into the conversation? We ultimately decided on showing the actions in a bottom sheet when a user long presses on the conversation. By default, this made the actions reachable for the people we were trying to solve this accessibility issue for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/0*M23b2tUxEAL2V26t.gif" /><figcaption>Gif showing a long press on an item to display a sheet with action options</figcaption></figure><p>If you were to turn on TalkBack at this time to try it out, you’d discover we could still make improvements. When reaching a list item you would hear <em>“Double tap to activate. Double tap and hold to long press.”</em> Sure, the actions are now reachable, but that information isn’t very useful. What does it mean to activate? Why should I long press?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*XE27zK4xYI7ndqSJfAYdRA.png" /><figcaption>Screen with caption “double tap to activate, double tap and hold to long press”</figcaption></figure><p>We knew we could use <a href="https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html#addAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)">AccessibilityNode.addAction()</a> to improve our accessibility announcements, so that’s what we did. <a href="https://blog.novoda.com/customising-usage-hints-for-android-talkback/">This post</a> by Ataul Munim was a great resource for figuring out how to implement this.</p><p>To start off with, we had to create an <a href="https://developer.android.com/reference/android/support/v4/view/AccessibilityDelegateCompat">AccessibilityDelegateCompat</a>. This is where we can specify the announcement for each action, short or long click:</p><pre><strong>class</strong> ConversationAccessibilityDelegate : <br>  AccessibilityDelegateCompat() {</pre><pre>  override fun onInitializeAccessibilityNodeInfo(<br>      host: View, info: AccessibilityNodeInfoCompat) {</pre><pre>    <strong>super</strong>.onInitializeAccessibilityNodeInfo(host, info)<br>    val click = <br>      AccessibilityNodeInfoCompat.AccessibilityActionCompat(<br>          AccessibilityNodeInfo.ACTION_CLICK,<br>          <em>// “Open conversation”<br>          </em>host.context.getString(<br>              R.<strong>string</strong>.description_open_conversation))<br>    val longClick = <br>      AccessibilityNodeInfoCompat.AccessibilityActionCompat(<br>          AccessibilityNodeInfo.ACTION_LONG_CLICK,<br>          <em>// “Perform conversation action”<br>          </em>host.context.getString(<br>              R.<strong>string</strong>.description_perform_conversation_action))</pre><pre>    info.addAction(click)<br>    info.addAction(longClick)<br>  }<br>}</pre><p>In our RecyclerView.Adapter is where we decided to set these actions. Since it stays the same for all items, we added it to the onCreateViewHolder() method. The main thing to pay attention to here is the call to setAccessibilityDelegate(). This is where we pass in the view and an instance of the accessibility delegate:</p><pre>override fun onCreateViewHolder(<strong>parent</strong>: ViewGroup, viewType: <strong>Int</strong>): <br>  RecyclerView.ViewHolder {</pre><pre>  val itemView = createItemView(<strong>parent</strong>)<br>  ViewCompat.setAccessibilityDelegate(itemView, <br>      ConversationAccessibilityDelegate())<br>  <strong>return</strong> ConversationViewHolder(itemView)<br>}</pre><p>Now when we run TalkBack again we hear <em>“Double tap to open conversation. Double tap and hold to perform conversation action.”</em> So much more informative than it was before! I hope you can use this in your apps to make them more informative and usable for people using TalkBack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*n8x4-c92opP34ZwO2xu4bw.png" /><figcaption>screen with caption “double tap to open conversation. double press and hold to perform conversation action”</figcaption></figure><p>We are always striving to make our apps more accessible. Feel free to let us know if you’ve noted something we can improve to make them easier to use for you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d03f6288ea32" width="1" height="1" alt=""><hr><p><a href="https://medium.com/buffer-engineering/announce-your-actions-making-gesture-actions-accessible-d03f6288ea32">Announce Your Actions: Making gesture actions accessible</a> was originally published in <a href="https://medium.com/buffer-engineering">Buffer Engineering &amp; Data</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Returning to Droidcon NYC]]></title>
            <link>https://medium.com/victoriagonda/returning-to-droidcon-nyc-d40942803d2a?source=rss-a2890f1e3013------2</link>
            <guid isPermaLink="false">https://medium.com/p/d40942803d2a</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[droidcon]]></category>
            <dc:creator><![CDATA[Victoria Gonda]]></dc:creator>
            <pubDate>Wed, 29 Aug 2018 00:41:35 GMT</pubDate>
            <atom:updated>2018-08-29T00:41:35.618Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*YrYUDHhe_abHNy4XyMSm7A.jpeg" /><figcaption>Droidcon NYC superhero Android logo with microphone</figcaption></figure><h3>Returning to droidcon NYC</h3><p>The first Android conference I ever attended was <a href="https://www.nyc.droidcon.com/">Droidcon NYC</a> in 2016. I attended at a time when I was learning and working with multiple frameworks, and it really fueled my interest in continuing with Android. I had so many great experiences there as an attendee, and this year I was delighted to attend as both an attendee and a speaker!</p><h3>Victoria Gonda on Twitter</h3><p>The first Android conference I ever was @droidconNYC. Two talks always stick out to me: @KellyShuster&#39;s Android is for Everyone and @RunChristinaRun&#39;s Kotlin in Production, both of which are topics that are still very important to me. Excited to be part of the line up this year!</p><p>A change from previous years, the location was Brooklyn. This was exciting for me, as all my other times in NYC have been in Manhattan. It was awesome to see and explore a new part of of the city. The venue, <a href="https://brooklynexpocenter.com/">Brooklyn Expo Center</a>, was also really great. The rooms felt like the perfect size, and the exhibitor area was never more than the “right” amount of crowded.</p><p>Speaking of, all of this couldn’t have happened without the sponsors. I love being able to make connections at their booths, and learn about the things they are doing at their companies (sorry recruiters, I’m happily employed at <a href="https://buffer.com/">Buffer</a>). Not to mention, all the great swag!</p><h3>Jeremy 🥑 on Twitter</h3><p>Hanging with @SquareDev at #DCNYC18</p><p>As far as talk content goes, there was a great selection all the way through. <a href="https://twitter.com/dankim">Dan Kim</a> gave the opening keynote sharing why the Android community is important, and the various ways you can get involved. The community has been such a big part of getting me, and so many others, to where we are now. I’m happy to be a part of it, and thankful for everyone else who participates. You’ll want to watch the video of “The future of our community is YOU” when it arrives.</p><h3>Adrián @ #DCNYC18 🇺🇸 on Twitter</h3><p>Ways of contributing to the community 🙋🏽‍♂️ 1. Writing ✍🏽 2. Speaking 📢 3. Mentoring 🎩 4. Open Source 👨🏽‍💻 #DCNYC18</p><p>After such a strong start, there were still so many talks that blew me away. I could elaborate on them all, but I’ll pick a couple instead and let you catch up with the videos when they’re posted.</p><p><a href="https://twitter.com/queencodemonkey">Huyen Tue Dao</a> took a dive into the Kotlin stdlib to help us understand what’s there, and how we can dissect it ourselves. She gave some awesome tips on how to understand Kotlin standard functions such as the differences between let, with, run, etc. “Dissecting the stdlib” includes this, and so many other great tidbits.</p><h3>Victoria Gonda on Twitter</h3><p>Tips for understanding Kotlin standard extensions 1. Is it an extension function? 2. Does it return the receiver, or a new value? 3. Do it take a lambda, or a lambda with receiver? @queencodemonkey at #DCNYC18</p><p>After this conference, I think I finally have my head wrapped around Kotlin coroutines! This is all thanks to <a href="https://twitter.com/RunChristinaRun">Christina Lee</a> in “Coroutines by Example”. Her beginners approach, converting some RxJava code to use coroutines really made it click for me. It probably helped that she spoke my language: using potatoes as an illustration.</p><h3>Victoria Gonda on Twitter</h3><p>Potato chips are they key to my heart, so @RunChristinaRun has me sold on coroutines. Coroutines are like potato chip dispensers, distributing chips into bags, er, small objects onto threads #DCNYC18</p><p>One of the things that I’ve been curious about looking into for a side project idea is Flutter. <a href="https://twitter.com/FaisalAbid">Faisal Abid</a> gave the introduction to help anyone get started in “Flutter for Android developers”. The barrier of entry is so tiny! I can’t wait to try it out.</p><h3>Victoria Gonda on Twitter</h3><p>Flutter is something I&#39;ve been wanting to try out more in my spare time. Learning how to get started with @FaisalAbid at #DCNYC18</p><p>I also liked that there were a number of Android fundamentals to learn, instead of exclusively the hot, new stuff. <a href="https://twitter.com/CodingChick">Effie Barak</a> gave us an introduction to how images work on Android in “Images 101”, and <a href="https://twitter.com/cephus">Joshua Jamison</a> brought us some knowledge on how views are measured in “The Importance of Measure.” I think it’s important to bring this knowledge both for the experienced developer who maybe hasn’t needed to do the deep dive in these areas, and the beginner who is still learning how these things work.</p><p>As I mentioned at the top, I also had the pleasure of speaking at this conference. I presented my talk “Functional Android”. In it, I talk about some of the properties that are important to the functional programming paradigm, and how they can be useful on Android. It was so much fun to see the enthusiasm and curiosity around the topic. You can find my slides <a href="https://speakerdeck.com/vgonda/functional-android">here</a>, and be watching for the video!</p><h3>Dan Kim on Twitter</h3><p>Very helpful intro to functional programming by @TTGonda. Although for some reason I came out of the talk with a serious hankering for a burger, milkshake, and many varieties of potatoes. 🍔🍧🥔 #DCNYC18</p><p>Below you can find my experience of the conference in the live Tweet version. How was your time at Droidcon?</p><p><a href="https://twitter.com/search?f=tweets&amp;vertical=default&amp;q=%40TTGonda%20%23DCNYC18&amp;src=typd&amp;qf=off">@TTGonda #DCNYC18 - Twitter Search</a></p><p>As usual, I was completely blown away by the community. I enjoyed getting to see friends again, and meet so many great people. I appreciated all my conversations with you. Huge thank you to the organizers and everyone else who made this event possible. Dan Kim was right: <strong>The future of the community is YOU</strong>. I cherish being able to belong to this community with you, and can’t wait until we can all meet again.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d40942803d2a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/victoriagonda/returning-to-droidcon-nyc-d40942803d2a">Returning to Droidcon NYC</a> was originally published in <a href="https://medium.com/victoriagonda">victoriagonda</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>