This Weeks Links
Fragmented Podcast Episode 062: Effective Java for Android Developers – Item #12: Consider Implementing Comparable
In this mini-Fragment episode, Donn talks about Item #12 of the Effective Java series – Consider Implementing Comparable. You’ll learn about how you can use the Comparable interface to give your code the extra sorting boost it needs. Work with Arrays.sort(), Collections utilities and even sorted data structures. Donn breaks down what it takes to implement the compareTo method of the Comparable interface.
Fragmented Podcast Episode 063: Effective Java for Android Developers – Item #13: Minimize the accessibility of classes and members
In this mini-Fragment episode, Donn talks about Item #13 of the Effective Java series – Minimize the accessibility of classes and members. You’ll learn why it’s important to limit the access on your public API, how it can help you with development and performance. You’ll also learn how changing a public API can affect the consumers of your API, for good and bad types and object hierarchies.
A simple adapter for a complex RecyclerView
In this post, Cường Lê is going to show you a way to save time spent writing adapters, and ViewHolders. The post introduces NoAdapter, which will help you cut back on boilerplate code and simplify the process of implementing a list using RecyclerView.
Diving deeper into the Java transient modifier
Take a deep dive into the transient modifier with Enrique López Mañas. Transient modifiers tell the Java object serialization subsystem to exclude a field when serializing an instance of a class. This post takes a closer look at what transient modifiers are and where they should be applied in practice.
The Ultimate Guide to ORM in Android using ActiveAndroid: Part 3
In this series you will learn how to convert Object types we use to model our application into the basic types allowed in SQLite via Object-Relational Mapping (ORM). In Part 3 you will be walked through implementation of model classes using ActiveAndroidModels and touch on a bit of basic SQLite.
The Ultimate Guide to ORM in Android using ActiveAndroid: Part 4
In this series you will learn how to convert Object types we use to model our application into the basic types allowed in SQLite via Object-Relational Mapping (ORM). In Part 4 looks at saving your models to the database and how to performing basic queries with ActiveAndroid.
The Ultimate Guide to ORM in Android using ActiveAndroid: Part 5
In this series you will learn how to convert Object types we use to model our application into the basic types allowed in SQLite via Object-Relational Mapping (ORM). In Part 5 introduces implementation of TypeSerializers, a handy and necessary tool for handling complex data
Communication within an Android App with EventBus
In this tutorial, Chike Mgbemena will introduce Greenrobot EventBus and show you how it can improve your Android app. You will then learn:
- The difference between regular and sticky events
- The different thread modes available and when to use each one
- Subscriber priorities
- Cancelling an event to stop receiving events
Firebase App Indexing for Personal Content— Getting Personal Content into Search
Firebase App Indexing helps your users find both public and personal content from their device. This post takes a looks at the advantages, privacy concerns, and implementation Firebase App Indexing for Personal Content.
Android Data Binding: Animations
This post takes a look at the two ways to add animations using data binding. In this post post you will learn about Binding Adapter Animations, OnRebindCallback and when you should choose to use each of them.
DownloadManager – Part 1
In this series you will be introduced to the DownloadManager API. Part 1 will show you how to get started using the API, which enables us to download content without background handling implementation and also provides an easy way to share that content with other apps.
Android Floating Widget like Facebook Chat Head
In this tutorial, you will be shown how to create simple draggable. floating widget with buttons. This will allow for easier multitasking, so a user can work on another application while controlling your application for the same time.
An Introduction to Icon Animation Techniques
An icon animation can add excitement and intrigue to an app user’s experience. In this blog post you will be provided a few different techniques that you can use to create lively and elegant icon animations for your app.
Learn to persist data on Android with SQLite
Being able to save or persist data within our apps is a fundamental skill for developers. Persist provides a way for our users to save their work, remember preferences, store files and more. In this tutorial with video, S.Saurel will show you how to persist data in a relational database with SQLite on Android.
Learn to create a BMI Calculator App for Android
In this short tutorial with video, S.Saurel will show you how to make a diagnostic application for Android which will calculate Body Mass Index (BMI) when a user enters their weight and height data.
Angular 2 — Animating Router transitions
In this post you will be shown how to create a simple application in which you will animate Router transitions between two routes using Angular 2.
Appium Tip #27: Using Appium for Mobile Game Testing
Appium mobile testing provides an open-source tool and framework for automating native, mobile web, and hybrid applications on Android. This post will show you how to use Image for creating automated tests on your games.
Certificate Pinning with OkHttp
In this post you will be shown how to increase your apps security by adding an additional root certificate authority check. This will help prevent a “man-in-the-middle attack” where a bogus certificate using your server’s real key is used.
Caster.IO Lesson 128: Material Motion: Implementing Elevation Touch Feedback
In this video, I will be shown how to use a StateListAnimator, to cause a view to raise in elevation when a user presses it. This is referenced in the Material Design guidelines, regarding the “Responsive Motion” Principle.
In this lesson you will learn:
- Review concept of using StateList for touch feedback
- How to create a StateListAnimator resource
- How to animate an View elevation on press, using a StateListAnimator
Caster.IO Lesson 129: Mockito – Test Doubles
This lesson describes the common types of test doubles.
In this lesson you will learn:
- What is a test double
- What are the most common types of test doubles
- What a Dummy is
- What a Fake is
- What a Stub is and an example of its use
- What a Mock is and an example of its use
- Why an object returned from Mockito.mock() isn’t necessarily a mock object
- The same object can be used as both a mock and stub
“String Resource Markup Language”. Markup your Android string resources with an impressive suite of formatting tags.
Android DebugPort allows you to write and execute code within your app’s context, at runtime, and from the comfort of your computer’s terminal.
FireCrasher is designed to handle the Uncaught Exceptions on the android application and help recover from the Exception Without exiting from the application.
Squeaky strives to be a straightforward approach to creating, migrating, and accessing SQLite databases.
Provide Funky cuts on image (The Perfect Header for Profile UI)