<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Ildarov</title>
    <description>The latest articles on Forem by Ildarov (@devit951).</description>
    <link>https://forem.com/devit951</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F145373%2F22beff02-5e46-407d-8a07-292e2cba4a70.jpeg</url>
      <title>Forem: Ildarov</title>
      <link>https://forem.com/devit951</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/devit951"/>
    <language>en</language>
    <item>
      <title>What would you do if you ruled the world?🧐</title>
      <dc:creator>Ildarov</dc:creator>
      <pubDate>Thu, 29 Aug 2019 05:47:56 +0000</pubDate>
      <link>https://forem.com/devit951/what-would-you-do-if-you-ruled-the-world-54ng</link>
      <guid>https://forem.com/devit951/what-would-you-do-if-you-ruled-the-world-54ng</guid>
      <description></description>
      <category>discuss</category>
    </item>
    <item>
      <title>Do you write your own thoughts every day?</title>
      <dc:creator>Ildarov</dc:creator>
      <pubDate>Tue, 20 Aug 2019 10:30:02 +0000</pubDate>
      <link>https://forem.com/devit951/do-you-write-your-thoughts-every-day-3gd0</link>
      <guid>https://forem.com/devit951/do-you-write-your-thoughts-every-day-3gd0</guid>
      <description>&lt;p&gt;I started doing this last week. And do you guys know? It's wonderful😊. &lt;br&gt;
And now I have questions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Do you do the same?&lt;/li&gt;
&lt;li&gt;What software do you use for this?&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Test assignments💥</title>
      <dc:creator>Ildarov</dc:creator>
      <pubDate>Mon, 19 Aug 2019 05:37:54 +0000</pubDate>
      <link>https://forem.com/devit951/test-assignments-2k76</link>
      <guid>https://forem.com/devit951/test-assignments-2k76</guid>
      <description>&lt;p&gt;Recently, I had a problem with the missing unified test base for developers. Therefore, I decided to collect all the test tasks for any languages/frameworks/platforms.&lt;/p&gt;




&lt;p&gt;So you're welcome to contribute! If you have test assignments, you can share it in comments or directly in GitHub Pull Request! &lt;strong&gt;I will be glad for any kind of help.😉 😊&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;a href="https://github.com/Devit951/Test-Assignments"&gt;https://github.com/Devit951/Test-Assignments&lt;/a&gt;
&lt;/h1&gt;

</description>
      <category>testtask</category>
      <category>testassignments</category>
      <category>test</category>
      <category>tests</category>
    </item>
    <item>
      <title>Java math challenge</title>
      <dc:creator>Ildarov</dc:creator>
      <pubDate>Thu, 11 Apr 2019 09:03:53 +0000</pubDate>
      <link>https://forem.com/devit951/java-math-challenge-271g</link>
      <guid>https://forem.com/devit951/java-math-challenge-271g</guid>
      <description>&lt;h2&gt;
  
  
  What should be printed?
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;        &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;null&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="n"&gt;e5&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="n"&gt;e2&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>challenge</category>
      <category>java</category>
    </item>
    <item>
      <title>Small RecyclerView XML feature</title>
      <dc:creator>Ildarov</dc:creator>
      <pubDate>Wed, 10 Apr 2019 07:54:50 +0000</pubDate>
      <link>https://forem.com/devit951/small-recyclerview-xml-feature-3a53</link>
      <guid>https://forem.com/devit951/small-recyclerview-xml-feature-3a53</guid>
      <description>&lt;p&gt;Did you know, that you can set RecyclerView layoutManager directly in XML, instead of always set RecyclerView layoutManager in the code?&lt;/p&gt;

&lt;h2&gt;
  
  
  Examples
&lt;/h2&gt;

&lt;p&gt;Paste one of this attribute in your RecyclerView in XML.&lt;/p&gt;

&lt;p&gt;For GridLayoutManager:&lt;br&gt;
&lt;code&gt;app:layoutManager="android.support.v7.widget.GridLayoutManager"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;For LinearLayoutManager:&lt;br&gt;
&lt;code&gt;app:layoutManager="android.support.v7.widget.LinearLayoutManager"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;And for StaggeredGridLayoutManager:&lt;br&gt;
&lt;code&gt;app:layoutManager="android.support.v7.widget.StaggeredGridLayoutManager"&lt;/code&gt;&lt;/p&gt;

</description>
      <category>android</category>
      <category>xml</category>
      <category>view</category>
      <category>recyclerview</category>
    </item>
    <item>
      <title>Java Inheritance Puzzle</title>
      <dc:creator>Ildarov</dc:creator>
      <pubDate>Tue, 02 Apr 2019 12:38:49 +0000</pubDate>
      <link>https://forem.com/devit951/java-inheritance-puzzle-446j</link>
      <guid>https://forem.com/devit951/java-inheritance-puzzle-446j</guid>
      <description>&lt;p&gt;Imagine we have one interface and these classes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;interface&lt;/span&gt; &lt;span class="nc"&gt;SuperType&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;


&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;DefaultSuperType&lt;/span&gt; &lt;span class="kd"&gt;implements&lt;/span&gt; &lt;span class="nc"&gt;SuperType&lt;/span&gt;&lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="nd"&gt;@Override&lt;/span&gt;
    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="o"&gt;(){&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"0"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ChildOfSuperType&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="nc"&gt;DefaultSuperType&lt;/span&gt;&lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="nd"&gt;@Override&lt;/span&gt;
    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="o"&gt;(){&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"1"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And then we execute this piece of code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SuperType superType = new ChildOfSuperType();
DefaultSuperType defaultSuperType = (DefaultSuperType) superType;
defaultSuperType.test()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Do you know what will be printed?&lt;/p&gt;

</description>
      <category>java</category>
      <category>challenge</category>
      <category>inheritance</category>
      <category>oop</category>
    </item>
    <item>
      <title>My first published library in the Android arsenal</title>
      <dc:creator>Ildarov</dc:creator>
      <pubDate>Mon, 01 Apr 2019 06:29:26 +0000</pubDate>
      <link>https://forem.com/devit951/my-first-published-library-in-the-android-arsenal-59c1</link>
      <guid>https://forem.com/devit951/my-first-published-library-in-the-android-arsenal-59c1</guid>
      <description>&lt;p&gt;Hello Guys! &lt;/p&gt;

&lt;p&gt;Yesterday my first library published in &lt;a href="https://android-arsenal.com"&gt;Android-arsenal&lt;/a&gt;. It is a really impressive feeling when you've done something original and may be useful for someone.&lt;/p&gt;

&lt;p&gt;Here is my library in android-arsenal: &lt;a href="https://android-arsenal.com/details/1/7598"&gt;Android-arsenal-FillingButton&lt;/a&gt;&lt;br&gt;
and here is in Github: &lt;a href="https://github.com/Devit951/FillingButton"&gt;FillingButton&lt;/a&gt;&lt;/p&gt;

</description>
      <category>android</category>
      <category>androidlibrary</category>
      <category>androidarsenal</category>
      <category>kotlin</category>
    </item>
    <item>
      <title>I'm an Android Developer(Java/Kotlin), pre-middle level, Ask Me Anything!</title>
      <dc:creator>Ildarov</dc:creator>
      <pubDate>Tue, 19 Mar 2019 05:16:44 +0000</pubDate>
      <link>https://forem.com/devit951/im-an-android-developerjavakotlin-pre-middle-level-ask-me-anything-4330</link>
      <guid>https://forem.com/devit951/im-an-android-developerjavakotlin-pre-middle-level-ask-me-anything-4330</guid>
      <description></description>
      <category>ama</category>
      <category>android</category>
      <category>kotlin</category>
      <category>java</category>
    </item>
  </channel>
</rss>
