Skip to content

Instantly share code, notes, and snippets.

View badarshahzad's full-sized avatar
🏢
Jr. Software Engineer

Badar Khan ツ badarshahzad

🏢
Jr. Software Engineer
  • Junior Full Stack Develper at Speridian Technologies. #ReactNative #React #Android and lover of <3 JavaScript #ReactNative #React #Android and lover of <3 JavaScript
  • Lahore, Punjab, Pakistan
View GitHub Profile
@badarshahzad
badarshahzad / README.md
Created October 20, 2016 20:49 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@udacityandroid
udacityandroid / Code snippet in WeatherActivity.java
Last active February 6, 2023 13:44
Android for Beginners : If/Else Weather Sample Quiz
boolean isRaining = true;
if (isRaining) {
Log.v("WeatherActivity", "It's raining, better bring an umbrella.");
} else {
Log.v("WeatherActivity", "It's unlikely to rain.");
}
Log.v("WeatherActivity", "Thank you for using the WhetherWeather App.");
@theblang
theblang / Support Preference Fragment
Created December 10, 2014 14:17
A sample usage of a Support Preference Fragment from Machinarius
package edu.msstate.nsparc.mdes.fragments;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.os.Bundle;
import android.preference.EditTextPreference;
import android.preference.ListPreference;