This Weeks Links
031: Effective Java for Android Developers – Item #8
In this mini Fragment, we introduce Joshua’s eighth Item. This oneis a doozy, probably one of the longest items in the group of the effective Java series, but most definitely quite important.
This episode is brought to you by Rollbar. Go to rollbar.com/fragmented to get their Bootstrap plan for free for 90 days.
First Preview of Android N: Developer APIs & Tools
Here are a few highlighted APIs and features, which are available as a part of the Android N Developer Preview, with more to come as the release continues to develop!
Magic constants in Android development
Magic constants are regular old Java constants decorated in a way that allows tools to recognize them as special values. This post will teach you how to use them and why enums aren’t the standard.
Let Mosby Flow – An alternative to Fragments
While some developers love the use of Fragments in Android apps, others hate them. In this blog post Hannes Dorfmann will give you a short introduction of how to use Mosby 3.0 (SNAPSHOT) to build MVP base screens and square’s Flow library as navigation stack replacement.
Robotium ExtSolo Library is Now Open Source
As many of you probably know Robotium was one of the first mobile test automation frameworks that was supported by Testdroid products. Robotium Extension Solo library – also known as Robotium ExtSolo – is now open source and fully available at Github.
Loading Resources from Unit Tests
This brief posts looks at why why you’d want to load a resource file for a test and the different options available to your circumstances.
Presenter surviving orientation changes with Loaders
This pattern allows you to avoid the God Activity/Fragment syndrome, better decoupling and improve testability in your applications and covers what are Loaders and what they give to us? what does it have to do with Presenters? And how do we translate that to code?
On fragments and life-cycles
Using fragments in layouts will make sure the initial calls to the fragments life-cycle methods will be in the same order with relation to the activity life-cycle methods when the fragment is recreated during activity recreation. This article aims to answer the question.. when should we trigger dependency injection in fragments?
Make your REST client easily in Android with Retrofit
Android applications are often connected to backend services and consume REST services to get data. To improve your productivity and gain some time in these types of application, it’s better to use a dedicated framework. Retrofit is a framework that lets you to make easy REST in Android. You can even combine Retrofit with GSON framework and simplify your JSON parsing, this is exactly what this tutorial looks at.
JobsWeb Developer at Industrial Distribution Group (IDG)
|
Embedding Custom Views with MapView V2
Google has graciously provided us with a MapFragment that can easily be added to any Activity, but what if you don’t want a full Fragment, or want to add a MapView to a RecyclerView? Andrew Lunsford has the answers you seek in this post.
A successful XML naming convention
The lack of XML namespaces, makes managing Android resources tedious. And causes things to grow out of control easily, especially in large projects. Here is an introduce to a simple scheme that will solve your pains.
Rosie – Let’s Dive Into Clean Architecture
It’s not always so obvious how to implement Uncle Bob’s Clean Architecture and it’s dependency rule, especially for beginners. Now, along comes a superhero, Rosie – the only woman you need!
Developing like a pro – portrait only apps
This blog post will discuss the hidden pitfalls of this decision including unexpected crashes and explain how you can work around these to make a solid, well functioning app that you can change to supporting both orientations in an instant.
Analyse a stack trace
Crashes do happen. Hopefully when you’re developing, so they’re addressed before they make their way to QA, or worse, your users. When they happen, you’re likely receiving a stack trace copy-pasted into an email, a chat message, or an issue tracker ticket. This article will show you the better way.
Android Material Icon Generator
A fantastic Android Material Icon Generator that allows you to use your own SVG icon or pick from a list of the Google Material Icons. Icons can then have their properties modified including their shadow, size and background!
How to get Battery Information programmatically in Android ?
This article demonstrates how you can build your apps so they can access CPU, Hardware and System Information using the Android Battery API.
Android Studio 2.1 Preview Adds Support For The Android N Preview And Java 8
This article looks at the some of the prerequisites and consequences to jumping on board with the Android Studio v2.1.
Let’s drill a hole in your view (overlay tutorial)
Have you ever wondered how exactly to draw an overlay with a “hole”? In this post, Rey Pham will introduce to you 3 methods to achieve just that.
Videos
Caster.IO Episode 47: Integrating Robolectric 3 with Android Studio 2
In this episode you will learn:
- Why you need to use Robolectric for test driven development.
- How to integrate Robolectric into a new project.
- How to configure Robolectric.
- How to build and start activities.
- How to write your first activity test.
- How to create run configurations for your classes and individual tests
Coffee with Now on Tap PM Paige Dunn-Rankin
Google Now on Tap is a feature for Android phones that lets you get quick information about what you’re doing without leaving your app, simply by holding the Home button. Laurence Moroney catches up with Paige Dunn-Rankin a product manager for Now on Tap to discuss this great technology.
Open Source
Rosie
Rosie is an Android framework to create applications following the principles of Clean Architecture.
Pretty Toast
This is quite simple toast library, that make it easier to show and create custom toast.
Kotgo
With Kotgo you can create a new Kotgo template project fast Kotgo is an android development framework using MVP architecture. It is built with pure Kotlin. Have fun!