Reasons behind Jetpack Compose

Jetpack Compose is the new way to implement layouts in Android using Kotlin allowing for dynamic and smart features, replacing the static XML Layout files used to build Android UIs until now.

The reasons? Android XML Layouts are bulky...

  • XML Layout files are static, which means

All Android Developers come across the Android Context daily even for the most basic applications, but because the Context can be used under various circumstances for different reasons, it can be hard to absorb, resulting in lots of developers forming varying impressions around it.

Consequently, many developers…

Providing some basic understanding behind a regression approach to a classification problem in DQNs action values.

This article assumes an when it comes to deep learning and a .

This article was made to address issues when it comes approaching DQNs…

Understanding the basic concepts behind Reinforcement Learning using value-based methods


Reinforcement Learning (RL) is a Machine Learning field which gained much attention since 2015 after Google’s team demonstrated self-taught DQN agents learning to walk, mastering Atari games and beating pro-human players in the game .

Watch DeepMind walking agents
DeepMind learning to play Breakout

RL is the science…

Hi everyone,

When I started playing around with neural networks, I had a lot of questions regarding the theory of neural networks, and while many things were taken for granted, I always wanted to dig into more detail when it comes to how neural networks work.

All this made me…

There is bizarre behavior in Android when you combine a “WebView” together with “AdMob”.

The Scrolling Problem

When the AdMob finishes loading, there is a known bug where the WebView scrolls down. …

So what is AMP? How will it change our website? Is it any useful? How hard is it to implement? How important is it? Should I replace my mobile website with AMP? What is Accelerated Mobile Pages anyway?

The above are some of the many questions someone has about this…

A static variable is a variable that doesn’t belong to an instance of that class, but to the class itself.

Equivalently a static method belongs to the class, rather than an object instance.

Let’s take the example of a very simple class:

public class Person(){
private static int population…

An Activity making a direct Intent call using AsyncTask’s onPostExecute(…) while the AsyncTask is at a separate file…

This article is describing a common pattern widely used in Android Development.

There are more cases where this technique applies, for example creating a clickListener for items in a recycler view, where we need to somehow forward click information from the Adapter class to the Activity class… so… keep reading!

The Problem

Ioannis Anifantakis

MSc Computer Science. — Software engineer and programming instructor. Actively involved in Android Development and Deep Learning.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store