Skip to content

Instantly share code, notes, and snippets.

View renanboni's full-sized avatar

Renan Boni renanboni

  • Berlin, Germany
View GitHub Profile
object Graph {
const val ROOT = "root_graph"
const val AUTHENTICATION = "auth_graph"
const val MAIN = "main_graph"
}
Handler(Looper.myLooper()!!).postDelayed({
// codigo a ser executado depois de 1 segundo (1000ms)
}, 1000)
Handler(Looper.myLooper()!!).postDelayed({
// codigo a ser executado depois de 1 segundo (1000ms)
}, 1000)
Handler(Looper.myLooper()!!).postDelayed({
// codigo a ser executado depois de 1 segundo (1000ms)
}, 1000)
Handler(Looper.myLooper()!!).postDelayed({
// codigo a ser executado depois de 1 segundo (1000ms)
}, 1000)
name: Android Pull Request & Master CI
on:
pull_request:
branches:
- 'master'
push:
branches:
- 'master'
name: Android Feature Branch CI
on:
push:
branches:
- '*'
- '!master'
- '!release*'
jobs:
@renanboni
renanboni / chat.kt
Created October 3, 2019 13:02
chat activity
package br.com.neon.helpcenter.ui.chat
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.widget.EditText
import android.widget.ImageView
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
public void printArray(int array[][]) {
for (int i = 0; i < array.length; i++) {
for (int j = 0; j < array[i].length; j++) {
System.out.print(array[i][j] + " ");
}
System.out.println();
}
}
boolean search(int numbers[], int x) {
for (int i = 0; i < numbers.length; i++)
if (numbers[i] == x) {
return true;
}
return false;
}