Profile cover photo
Profile photo
Daniele Segato
347 followers -
I’m a programmer with a degree in computer science. I use Linux for fun and at work.
I’m a programmer with a degree in computer science. I use Linux for fun and at work.

347 followers
About
Daniele's posts

Post has shared content
rxlint 1.2

Lint is a powerful tool to check your code for common mistakes. RxLint is a set of checks that help checking your RxJava code on Android.

It's been a while since rxlint was updated, but this update adds a new lint check + full support for RxJava version 2.x.

Happy linting!

Post has shared content
Another awesome blog post from Nick Butcher showing what you can do with Android Animated Vector Drawable (API23+ or API21+ with some trick).
I recently saw a question on /r/androiddev asking how to implement a fancy animation… and decided to demonstrate how to do it using AnimatedVectorDrawable.

Here's a breakdown of how I did it: https://medium.com/@crafty/animation-jump-through-861f4f5b3de4

Or you can jump straight to the code here: https://gist.github.com/nickbutcher/97143b3240682e5c5851fe45b49fde93

#AndroidDev #AndroidDesign #Animation
Animated Photo

Post has shared content
This article has everything you need to get going with icon animations on Android
An Introduction to Icon Animation Techniques

Week #1: wrote 27 icon animations for Android
Week #2: learned how to animate SVGs using SMIL and CSS
Week #3: learned the basics of Adobe After Effects to create cooler and more advanced icon animation effects
Week #4,5,6: learned JavaScript and ported 19 icon animations from Android to SVG to use as inline blog post demos
Week #7: rewrote and polished a bunch of animations, planned out structure of blog post
Week #8: writing, editting, rewriting, deleting, rewriting again, editting, repeat...

Don't think I have ever worked this much on a single blog post before... but I wouldn't have it any other way. Let me know what you think, and don't forget to share! :D

Link: http://www.androiddesignpatterns.com/2016/11/introduction-to-icon-animation-techniques.html

Post has shared content
The #RxJava 2.0 decision of removing Nulls value is really problematic in my opinion.

A question about that has been rejected, as you can see here:

https://github.com/ReactiveX/RxJava/issues/4644


As much as I do not like having to handle Nulls in Java that's in most situation a perfectly valid value and I think the RxJava developers are making an huge mistake here.

#RxJava2

Post has attachment
The #RxJava 2.0 decision of removing Nulls value is really problematic in my opinion.

A question about that has been rejected, as you can see here:

https://github.com/ReactiveX/RxJava/issues/4644


As much as I do not like having to handle Nulls in Java that's in most situation a perfectly valid value and I think the RxJava developers are making an huge mistake here.

#RxJava2

How is the stability of the Android Studio Canary and Alpha channel nowadays?

When it was first announced I jumped on the train immediately and I remember having some bad time with backward compatibility issues and bugs :)

When channels come out I moved to stable with my team.

Then we went for beta and we are currently happy with it, the drawback is that we have to wait more for new stuff.

So here again the question: how do you judge the IDE stability in the Alpha and Canary channel? Anything like the beginning?

Please also specify how much you use Android Studio (I use it daily for professional work).

Side question: is it doable to keep two Android Studio different version on the same machine switching between them for the same project? Any issue arise? (different gradle version supported etc...)

Post has shared content
Please comment on the original :)
I want to share yet another gradle script to publish an Android library on a Maven repository.

This gist:
https://gist.github.com/danielesegato/3ea6f99c968ce0b795c5390844ad4ff7

The main difference with others similar scripts is that I handled the javadoc generation so that it links with Java and Android classes and some third party library I used as dependency.

In the gist I also explain how to set it up to publish artifacts on an Amazon AWS S3, effectively using it as a maven repository.

#AndroidDev #MavenPublish #GradleMavenPublish #Javadoc #Aws #S3

Post has attachment
I want to share yet another gradle script to publish an Android library on a Maven repository.

This gist:
https://gist.github.com/danielesegato/3ea6f99c968ce0b795c5390844ad4ff7

The main difference with others similar scripts is that I handled the javadoc generation so that it links with Java and Android classes and some third party library I used as dependency.

In the gist I also explain how to set it up to publish artifacts on an Amazon AWS S3, effectively using it as a maven repository.

#AndroidDev #MavenPublish #GradleMavenPublish #Javadoc #Aws #S3

Random though: Microsoft voice assistance was Cortana, even if I never liked Windows Phone THAT was amazing. Wouldn't it be awesome if OK Google Assistant had a cool personality too?

My personal choice would be GLaDOS from Portal! Or at least its voice.

What would you guys and gals want?

Have a Nice weekend!

Nexus ❤ was a triumph!
I'm making a note here:
Huge success!

It's hard to overstate
my satisfaction.

My team is building an android library that need Google App Invites.
I'm supposed to add google-services.json in the root of the library.
The problem is that google-services.json contains app-specific data. And I really want to place it in the app, not the library!

Any suggestion? How can I use Google App Invites in an android library?
Wait while more posts are being loaded