Skip to content

Instantly share code, notes, and snippets.

View victorcs85's full-sized avatar

Victor Costa Santiago victorcs85

View GitHub Profile
@qamarelsafadi
qamarelsafadi / NewMenuApiImplementation.kt
Last active January 19, 2024 12:52
This gist will help you to get started with the new menu implementation way, you can find 2 extensions that will help you not repeat a huge code, Enjoy it.
// Step 1 : implement the new activity dependency in you gradle
implementation 'androidx.activity:activity-ktx:1.5.1'
// if you are using compose
implementation 'androidx.activity:activity-compose:1.5.1'
/* ---------------------------------------------- Activity Extension -------------------------------------------------------*/
fun AppCompatActivity.bindMenu(
@MenuRes menuRes: Int,
@rodolfoizidoro
rodolfoizidoro / favoritos.md
Last active February 1, 2019 21:55
Lista de estudos nas férias . Importar no Chrome.
Name Link
Download Favoritos para importa no Google Chrome https://gist.github.com/rodolfoizidoro/f0d5051d9109eb7dc70c2dfcf42a67aa
MVVM with Kotlin — Android Architecture Components, Dagger 2, Retrofit and RxAndroid https://proandroiddev.com/mvvm-with-kotlin-android-architecture-components-dagger-2-retrofit-and-rxandroid-1a4ebb38c699
30 summertime Android libraries and tools which you don’t want to miss in 2018 https://medium.com/@mmbialas/30-summertime-android-libraries-and-tools-which-you-dont-want-to-miss-in-2018-fab053d69503
KeepSafe/TapTargetView An implementation of tap targets from the Material Design guidelines for feature discovery https://github.com/KeepSafe/TapTargetView
Material Intro View is a showcase android library. https://github.com/iammert/MaterialIntroView
Modern background execution in Android https://android-developers.googleblog.com/2018/10/modern-background-execution-in-android.html?m=1
Dominando o Data Binding no Android https://pt.slideshare.
@cesarferreira
cesarferreira / RxJava.md
Last active February 2, 2022 07:28
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)