<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Code on Vasileios Chroniadis blog</title><link>https://chronvas.github.io/tags/code/</link><description>Recent content in Code on Vasileios Chroniadis blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 16 Jun 2017 00:00:00 +0000</lastBuildDate><atom:link href="https://chronvas.github.io/tags/code/index.xml" rel="self" type="application/rss+xml"/><item><title>Dagger2 Presentation</title><link>https://chronvas.github.io/posts/2017-05-16-dagger-2/</link><pubDate>Fri, 16 Jun 2017 00:00:00 +0000</pubDate><guid>https://chronvas.github.io/posts/2017-05-16-dagger-2/</guid><description>&lt;p&gt;I have written a small presentation for developers starting on Dependency Injection frameworks in general, and getting a more detailed view of the basics of Dagger2 for Android&lt;/p&gt;
&lt;p&gt;The presentation is hosted at slides.com and you can view it following this link &lt;a href="https://slides.com/chronvas/dagger-2"&gt;https://slides.com/chronvas/dagger-2&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Realm for Android, pre-populating from Json and extracting the database</title><link>https://chronvas.github.io/posts/2016-08-01-realm-for-android-pre-populating-from-json-and-extracting-the-database/</link><pubDate>Mon, 01 Aug 2016 00:00:00 +0000</pubDate><guid>https://chronvas.github.io/posts/2016-08-01-realm-for-android-pre-populating-from-json-and-extracting-the-database/</guid><description>&lt;p&gt;Scroll to read, or continue reding in &lt;a class="social-btn" href="https://medium.com/@chron.vas/realm-for-android-pre-populating-from-json-and-extracting-the-database-8709a2f8db18" target="_blank" rel="noopener noreferrer"&gt;&lt;i class="fa fa-fw fa-medium"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I’ve came across the “hustle” of creating an app that will use Realm, having the database previously populated with data and just include the created database file in the published app, omitting the Json (or any other file) that is being used to populate it.&lt;/p&gt;
&lt;p&gt;Doing so for a “to be published” app saves time (parsing the file and populating a db) and space (omitting the file which used to create the database).&lt;/p&gt;</description></item></channel></rss>