Skip to content

Instantly share code, notes, and snippets.

View brunoazevedomendonca's full-sized avatar

Bruno de Azevedo Mendonça brunoazevedomendonca

View GitHub Profile

Keybase proof

I hereby claim:

  • I am brunomend on github.
  • I am brunomend94 (https://keybase.io/brunomend94) on keybase.
  • I have a public key ASBI6DixVLYgccrCCa8XVmPNjnTv54qSYQDbxc42ldKkaAo

To claim this, I am signing this object:

@brunoazevedomendonca
brunoazevedomendonca / ContatinhoAdapter.kt
Created September 5, 2018 12:34
Adapter simples para Strings em RecyclerView
package br.com.brunoazevedo.contatinhos
import android.content.Context
import android.support.v7.widget.RecyclerView
import android.view.View
import android.view.ViewGroup
import android.view.LayoutInflater
import kotlinx.android.synthetic.main.contatinho_item_lista.view.*
class ContatinhoAdapter(val contatinhos: List<String>)
@brunoazevedomendonca
brunoazevedomendonca / main_AndroidManifest.xml
Last active November 9, 2017 16:20
Resolução Prova 1
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.android.localizator">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
@brunoazevedomendonca
brunoazevedomendonca / build.gradle (Module: app) 2.3
Last active November 8, 2017 15:33
Localizator Android Studio 2.3
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "br.com.example.testfinder"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
@brunoazevedomendonca
brunoazevedomendonca / build.gradle (Module: app) 3.0
Last active November 8, 2017 15:33
Localizator Android Studio 3.0
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.example.android.localizator"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
@brunoazevedomendonca
brunoazevedomendonca / build.gradle (Module: app)
Last active November 3, 2017 13:30
Projeto Movies Road 03-11-2017
//Parâmetros do seu projeto ....
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
@brunoazevedomendonca
brunoazevedomendonca / app_.gitignore
Created November 3, 2017 13:13
Projeto Movies Road disciplina Topicos em Informatica 12 - Desenvolvimento Mobile UFSCar
/build
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/oxford_blue">
private void tributacao(Tributavel tributavel){
tributavel.descontaTributo();
}
public class Cliente {
String nome;
String sobrenome;
String cpf;
public Cliente(String nome){
this.nome = nome;
}