This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Conta { | |
String nome; | |
int cc | |
int agencia; | |
double saldo; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class JavaA01E01Fibonacci { | |
public static void main(String[] args) { | |
// Reference: https://pt.wikipedia.org/wiki/Sequ%C3%AAncia_de_Fibonacci | |
int f0 = 0; | |
int f1 = 1; | |
int aux; | |
System.out.println("0: " + f0); | |
System.out.println("1: " + f1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.ericksprengel.aula04; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.util.Log; | |
public class AndroidA02T02Activity extends Activity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.ericksprengel.androidaula03; | |
import android.app.Activity; | |
import android.os.AsyncTask; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.TextView; | |
public class AsyncTaskActivity extends Activity { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/activity_main" | |
android:orientation="vertical" | |
android:background="#fcc" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<ImageView | |
android:id="@+id/imageView" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 192.30.253.116... | |
* Connected to api.github.com (192.30.253.116) port 443 (#0) | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 | |
* Server certificate: *.github.com | |
* Server certificate: DigiCert SHA2 High Assurance Server CA | |
* Server certificate: DigiCert High Assurance EV Root CA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.comschool.aula02b; | |
import android.app.ListActivity; | |
import android.os.Bundle; | |
import android.widget.ArrayAdapter; | |
public class ArrayAdapterActivity extends ListActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.ericksprengel.aa.retrofit.model; | |
import java.util.Map; | |
public class Giphy { | |
public String id; | |
public String type; | |
public Map<String, GiphyImage> images; |