Wife learns android creating views in code reviews the work June completed from assignment for creating an Android TextView & EditView and positioning in code. Get Code The code can be found here https://github.com/mobapptuts/androidwife-layouts.git Or else you can run this command git clone https://github.com/mobapptuts/androidwife-layouts.git Code Sample TextView juneView = new TextView(this); RelativeLayout.LayoutParams juneTextParams = new RelativeLayout.LayoutParams( RelativeLayout.LayoutParams.WRAP_CONTENT, […]

Read more

This tutorial is about resolving concurrency issues that happen when issuing AsyncTasks when using RecyclerViews in android applications. Get Code You can download the code from github here https://github.com/mobapptuts/recyclerview_image_gallery.git Tag concurrency Or else run this command git clone –branch concurrency https://github.com/mobapptuts/recyclerview_image_gallery.git Create a class derived from BitmapDrawable public static class AsyncDrawable extends BitmapDrawable { final WeakReference<BitmapWorkerTask> taskReference; […]

Read more

This is part 1 of the android tutorial performance series. We look for a quick and fast solution with testing Picasso image library. It’s mainly a convenience library for downloading images from the internet but also has caching support which we will be looking to use to improve the performance of the recyclerview image gallery […]

Read more