Profile

Cover photo
Hugo Visser
Works at Little Robots
1,337 followers|1,129,149 views
AboutPostsPhotosYouTube

Stream

Hugo Visser

Shared publicly  - 
4
Add a comment...
 
Awesome update!
 
Android Support Library 22.1 - ActionBarActivity is dead, long live AppCompatActivity
You’d be surprised how much we can pack into a 0.1 update to the Android Support Library: revision 22.1 includes improvements to Support V4, AppCompat, Leanback, RecyclerView, Palette, and Renderscript.

Support V4 adds drawable tinting to all API4+ devices, the new ColorUtils class makes working with colors easier, and new interpolators have been added to make great animations.

AppCompat gets a remake as we deprecate ActionBarActivity for the new AppCompatActivity, now built on a AppCompatDelegate that can be used to add AppCompat functionality to any Activity. There’s also a new AppCompatDialog, support version of AlertDialog, improvements to widget tinting, and expanded android:theme support.

Leanback now includes a guided step functionality, making it easy to build a multiple step process that looks great on Android TV.

RecyclerView seeks to make life easier with a new SortedList data structure, making it easy to tie a changing set of data to a RecyclerView.Adapter.

Palette is now 6-8 times faster and has a new Builder pattern for constructing Palette instances.

Renderscript improved reliability and performance and adds additional script intrinsic operations, bringing new pre-defined operations to all API 8+ devices.

Check out everything that has been added in this release and download the updated Android Support Library via the Android SDK Manager.

#AndroidDev   #AppCompat   #SupportLibrary   #Leanback  
64 comments on original post
9
Add a comment...

Hugo Visser

Shared publicly  - 
 
To be honest I haven't dug much into using Rx and Android but it's pretty cool that +Eric Kok made it possible to use Cupboard (https://bitbucket.org/qbusict/cupboard) with it. It might be even be the missing link I was looking for ;)
 
As Rx slowly but surely trickles down into the Android mainstream, I am happy to introduce a little library that makes SQLite databases and RxJava streams friends.

RxCupboard is a layer to bring the elegant object persistance library Cupboard into the world of reactive programming. It's set of Observables allows for easy retrieval and storing of streaming POJOs into your database.

rxDatabase.query(Cheese.class, "agedMonths >= ?", 12).subscribe(new Action1<Cheese>() {
   @Override public void call(Cheese cheese) {
        // Do something with cheese...
    }
});

Observable<Cheese> cheeses = ... // Like a Retrofit observable
cheeses.subscribe(rxDatabase.put());

Project: https://github.com/erickok/RxCupboard
Sample .apk: https://github.com/erickok/RxCupboard/releases/tag/v0.2
RxCupboard - Store and retrieve streams of POJOs from an Android database using RxJava and Cupboard
View original post
19
2
Hugo Visser's profile photoWiebe Elsinga's profile photo
Add a comment...

Hugo Visser

Shared publicly  - 
 
Good stuff! Also a nice example of using android-apt with Dagger 2 which comes up every now and then.
 
Dagger 2 is out! Here is my demo repo showing how to use it with Espresso 2 and Mockito for testing.


#GDE   #Android   #Article   #AndroidDev  
I've been doing Android instrumentation testing with Dagger, Espresso and Mockito, and I love it. To commemorate the launch of Dagger 2 out of SNAPSHOT, I am sharing a demo repo with Dagger 2, Espresso 2 and Mockito: https://github.com/chiuki/android-test-demo. Dagger Components ...
2 comments on original post
6
6
Eric Korb's profile photoNeal Sanche's profile photo
Add a comment...

Hugo Visser

Shared publicly  - 
 
Been using Glide in my recent project and this article has some great insights comparing Glide vs Picasso.
 
Deciding which Image Loader Library to use on your android app project? Check this out. My article about Picasso-competitor Glide, an Image Loader Library recommended by Google. =)
In the passed Google Developer Summit Thailand, Google introduced us an Image Loader Library for Android developed by bumptech named Glide as a library that recommended by Google. It has been use
9 comments on original post
33
6
Frank Harper's profile photoKshitij Aggarwal's profile photoEric Korb's profile photoSimon Debaecke's profile photo
3 comments
 
How am I just finding out about this project now? Probably spending more time reporting and blocking spam from the Android Community than reading the posts...
Add a comment...

Hugo Visser

Shared publicly  - 
 
Now with more vectors!
 
Inspired by the great Android app "Pocket Casts" +Alex Lockwood took it on him to recreate the pause/resume media playback button [1]. While his approach is based on a canvas, i was curious how such an effect could be achieved with pure Android drawables.

A few hours later i had the effect implemented with animated VectorDrawables and state transitions. The outcome is very nice and contains some interesting insides for other people trying to work with animated vector drawables. The code can be found at this [2] gist.

Some technical remarks... While the effect looks straight forward, it takes a ton of xml files to implement (15!). The entry point to the code is the file ic_pause_resume.xml [3] which branches out into the concrete animated-vector files.

One thing that is not shown in the gist is how the "selection" property of the ImageView is toggled in normal java code once the user taps on the drawable. Based on this selection property the transition to another drawable is triggered.

I hope you get something out of it. :)

[1] https://plus.google.com/+AlexLockwood/posts/ETPJCXjVUuw
[2] https://gist.github.com/mpost/180bf15676006a50c3f7
[3] https://gist.github.com/mpost/180bf15676006a50c3f7#file-ic_pause_resume-xml
21 comments on original post
10
1
Michael Panzer's profile photoTriet Bui Minh's profile photoHugo Visser's profile photoKurt Mbanje's profile photo
3 comments
 
+Triet Bui Minh Yep, the post from +Moritz Post was based on that :)
Add a comment...
Have him in circles
1,337 people
Andrew Nyago's profile photo
Inderjit Gill's profile photo
Brian Graf's profile photo
Che Weng's profile photo
강경수's profile photo
Katherine Kuan's profile photo
Michael Ritchie (ThanksMister)'s profile photo
Dexter Southall's profile photo
David Belliveau's profile photo

Hugo Visser
owner

Discussion  - 
 
 
As Rx slowly but surely trickles down into the Android mainstream, I am happy to introduce a little library that makes SQLite databases and RxJava streams friends.

RxCupboard is a layer to bring the elegant object persistance library Cupboard into the world of reactive programming. It's set of Observables allows for easy retrieval and storing of streaming POJOs into your database.

rxDatabase.query(Cheese.class, "agedMonths >= ?", 12).subscribe(new Action1<Cheese>() {
   @Override public void call(Cheese cheese) {
        // Do something with cheese...
    }
});

Observable<Cheese> cheeses = ... // Like a Retrofit observable
cheeses.subscribe(rxDatabase.put());

Project: https://github.com/erickok/RxCupboard
Sample .apk: https://github.com/erickok/RxCupboard/releases/tag/v0.2
RxCupboard - Store and retrieve streams of POJOs from an Android database using RxJava and Cupboard
View original post
3
Add a comment...
 
+Dennis Geurts and I will host this workshop. If you are interested to learn about BLE and beacon technology, sign up!
 
I've signed up for the Workshop Bluetooth Low Energy and UriBeacons.

Last year was a crash course on BLE, and I for one could use a refresher and some hands-on with the latest flavor of beacons from Google. Who else is joining?
During this workshop Bluetooth Low Energy and UriBeacons you will learn how to interact with Bluetooth Low Energy devices using the Android platform.
13 comments on original post
8
2
Wiebe Elsinga's profile photoMatt Feigal's profile photo
Add a comment...

Hugo Visser

Shared publicly  - 
 
 
This gradle plugin looks very useful: Put everything you need to publish an app and use command line (or a button in your CI server) to publish it on Play Store. 

https://github.com/Triple-T/gradle-play-publisher
gradle-play-publisher - Gradle Plugin to upload your APK and metadata to the Google Play Store
View original post
5
1
Rory Glynn's profile photoBenoit Billington's profile photoHugo Visser's profile photoEric Korb's profile photo
3 comments
 
I like it from the technical aspect, though in practice the developers are not the ones updating the store listing. I'd like to see a way to make a draft for the store listing, and using this plugin could be one way I guess.
Add a comment...

Hugo Visser

Shared publicly  - 
 
 
The next edition of Dutch Android Open Space is coming up! Are you free for food and drinks with your Android friends?

This year, we're holding it centrally in Utrecht. Hope to see you there on the 31st!
View original post
3
Add a comment...
 
 
Great post from the G+ Team on different strategies they have developed for Android UI testing.

1. Write many unit tests and integration tests as possible.

2. Hermetic tests are the way to go.

3. Use dependency injection while designing your app. Build your application into small libraries/modules, and test each one in isolation. Inject test doubles and fakes through a different test graph.

4. Componentize your UI tests in self contained small modules. Fast and stable tests have proven to drastically improve developer productivity.
1 comment on original post
5
6
Russell Wheeler's profile photoJashan P J's profile photo
Add a comment...
 
 
Learn about our powerful Gradle-based build system in #AndroidStudio  with this new #DevByte from +Wojtek Kaliciński. 
4 comments on original post
4
2
Gabor Orosz's profile photoPietro Alberto Rossi's profile photo
Add a comment...
People
Have him in circles
1,337 people
Andrew Nyago's profile photo
Inderjit Gill's profile photo
Brian Graf's profile photo
Che Weng's profile photo
강경수's profile photo
Katherine Kuan's profile photo
Michael Ritchie (ThanksMister)'s profile photo
Dexter Southall's profile photo
David Belliveau's profile photo
Basic Information
Gender
Male
Story
Tagline
Rocking the bytecodes
Introduction
Passion for Android, developer, made the Rainy Days app, owner at Little Robots, organiser at The Dutch Android User Group, likes to DJ, pretty square otherwise.
Work
Occupation
Android developer by day and night.
Employment
  • Little Robots
    Main Robot, 2014 - present
  • Dutch Android User Group
    Organizer, 2013 - present
  • Qbus
    All things tech, 2010 - 2014