Skip to content

Instantly share code, notes, and snippets.


Laszlo Lajos Toth LaszloLajosT

View GitHub Profile
LaszloLajosT /
Last active Apr 17, 2020
This is an Android Basics Nanodegree Program Practice Set. Lesson 4. Making an App interactive. I read many comments how confusing to set up a new project before even start the practice part. I got it. A few updates came out since and the first step for beginners can be hard. So, here is my "create a new project" first step.
package android.example.practiceset2;
import android.os.Bundle;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
LaszloLajosT /
Created Dec 5, 2019 — forked from PurpleBooth/
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


LaszloLajosT /
Last active Dec 15, 2019
Here we are again. I hope this will make it easier how to compare the task to the result. Do you want to know which lesson is that? -> Custom ArrayAdapter Exercise from Udacity, Android Basics Nanodegree Program. Multi Screen Apps -> LESSON 3 Arrays, Lists, Loops, & Custom Classes Use Arrays, Lists, and Loops
import android.os.Bundle;
import android.widget.ListView;
import java.util.ArrayList;
public class NumbersActivity extends AppCompatActivity {
LaszloLajosT / activity_main.xml LinearLayout ->TextViews
Created May 1, 2020
Horizontal TextView examples in LinearLayout and RelativeLayout
View activity_main.xml LinearLayout ->TextViews
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android=""
LaszloLajosT /
Created Sep 6, 2020
FirebaseJobDispatcher Sample Code:
Driver driver = new GooglePlayDriver(context);
FirebaseJobDispatcher dispatcher = new FirebaseJobDispatcher(driver);
Job myJob = dispatcher.newJobBuilder()
// the JobService that will be called
// uniquely identifies the job
// one-off job
You can’t perform that action at this time.