Skip to content

Instantly share code, notes, and snippets.

View gavelez's full-sized avatar

Giovanny Velez gavelez

View GitHub Profile
@gavelez
gavelez / PlayingWithPaths.kt
Created September 2, 2020 23:49 — forked from alexjlockwood/PlayingWithPaths.kt
Implementation of a 'Playing with Paths' polygon animation
package com.alexjlockwood.playingwithpaths
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.animation.animatedFloat
import androidx.compose.animation.core.AnimationConstants
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.repeatable
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Image
@gavelez
gavelez / RxJava.md
Created August 20, 2017 02:19 — forked from cesarferreira/RxJava.md
Party tricks with RxJava, RxAndroid & Retrolambda

View Click

Instead of the verbose setOnClickListener:

RxView.clicks(submitButton).subscribe(o -> log("submit button clicked!"));

Filter even numbers

Observable
    .just(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)