CODEX

Animate your Pages with ViewPager2 Page-Transformers

For a seasoned android developer, it is almost impossible to work on any concise android project which does not require the use of a ViewPager, to my experience, on average, eight apps on ten require a ViewPager in one way or another.

A ViewPageris the widget that allows the user to swipe left or right to see an entirely new screen or page. It is a nice and practical way of displaying tabs or fragments and navigating between them. …


Interfaces, dependency injection, and more

Speech bubble
Speech bubble

Object-oriented programing is the basis of almost all great applications nowadays. Because of its great flexibility, it has become the design pattern of choice for many developers.

One of the things that make object-oriented programming so great is the ability to communicate data between objects, and there are many different ways of doing so. As an Android developer, I have come across many newbies — most of them being my interns — who do not get communication between objects right. This pushes them to write a lot of boilerplate code that makes their work very difficult to manage and scale.


How shape drawables can make your Android UI better

If you are a newbie in Android app development and you chose to go with Android Studio and Java or Kotlin, after having a tour of the UI components (views and layouts), you may think something is lacking. But after I sharpened my practice a little more and came across shape drawables, I knew I had found my answer.

At first glance, many new Android developers using Android Studio who do not know about shape drawables usually complain that they do not have the necessary tools to implement their UIs the way they want — and that is true. …


Why you need a monster computer as a professional developer

Why Do You Need a Powerful Computer to Develop Your Apps?

One aspect of programming that can be overlooked by developers is what type of machine they should use on their continuous journey as a developer (emphasis on the word “continuous”).

Sometimes, for budgetary reasons, developers will get the machine they can afford for themselves or their teams, without looking into what computer would be required to do the job well.

Nevertheless, from the simple and fast interpreted code of web development, through desktop, game and mobile development to the training of complex machine learning algorithms powered by Big Data, all developers need a computer that can cope with continuous development…


A guide to freedom from beliefs that do not serve and becoming your true self

Have you ever wondered, what if all I believe is a lie? In my case and experience, it was unfortunately true.

All human beings are born into a certain socio-cultural aspect of life; this usually includes a predefined set of beliefs and traditions which all came into practice at some point in the past, mostly with regard to certain aspects of survival for an individual or as a community.

It can’t be far-fetched that many of these beliefs and traditions being transferred to each generation of people carry both positive and negative aspects to them; but whether positive or negative…


KEEPING IT SIMPLE

Your code for working with media files is no longer the boilerplate type

As an Android Developer, when it comes to accessing media files present on Android devices, it could quickly become troublesome if you don’t have that much experience with the android architecture for handling files, especially When things got complicated with the coming of android 10 and the forced adoption of Scoped Storage to carry out any operations on files.

For media files, these restrictions are not that extreme since they can easily be handled by querying the Android MediaStore , nevertheless the code for that could get long and confusing so today I am presenting to you an android library…


Using Cashapp in unsupported countries is possible


A quick and simple guide to customizing your checkboxes in your android projects

When designing the user interface for your application, you want to make sure that your design is optimal, intuitive, and provides a pleasant user experience once published. To do this, you will likely want to use your own user interface objects or custom design than what the framework or sdk you are using is offering and sometimes it could be easy to implement because for most frameworks and sdk, these user interface objects are customizable and Android is no exception.

In this article, I’m going to show you how to fully customize your check boxes to tailor your user interface…


The new ways of working with files in your Android apps targeting Android 10

With the release of Android 10 (API level 29 or Q), a lot of things have changed in the Android SDK especially security-wise which is a good thing but being something that keeps evolving. there are always pros and cons to each evolutionary stage and it so happened that this time the cons were met with a lot of controversies by developers. The Scoped Storage in android 10 forces developers to use the Storage Access Framework for almost all operations on user files in disregard to the java.io.file API for it not being very secure. This led to a long…


Modifying a RecyclerView and it items to imitate the behavior of a tablayout or ViewPager indicators

OK i know what some developers will say “why use a RecyclerViews’s items as a ViewPager’s page indicator instead of using a TabLayout.

Sometimes as an Android developer you can be faced with a situation where you are required to give out as much information in a ViewPager’s page indicator as in the ViewPager’s pages itself and as you may already guess a simple title and an icon may not be enough like the TabLayout offers. …

M.N Emmanuel

Android Developer in Java,C#/.Net and Xamarin,love writing about code,apps,digital marketing and self-development

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