Skip to content

Instantly share code, notes, and snippets.

View AliAzaz's full-sized avatar
🇵🇰
Passion to help others 😊

Ali Azaz Alam AliAzaz

🇵🇰
Passion to help others 😊
View GitHub Profile
@staltz
staltz / introrx.md
Last active May 3, 2024 13:00
The introduction to Reactive Programming you've been missing
@ishitcno1
ishitcno1 / MainActivity.java
Last active April 20, 2024 12:34
multiple row radio button in android.
package com.edinstudio.app.samples.multiplerowradiobuttons;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import android.widget.RadioGroup;
import android.widget.Toast;
public class MainActivity extends ActionBarActivity {
@jorgevila
jorgevila / android-sqlite-table-names
Created March 5, 2014 09:13
Android SQLite Get Table Names
SQLiteDatabase database = dbHelper.getWritableDatabase();
Cursor c = database.rawQuery(
"SELECT name FROM sqlite_master WHERE type='table'", null);
Assert.assertNotNull(c);
String actual = "";
if (c.moveToFirst()) {
while (!c.isAfterLast()) {
actual += c.getString(0) + ",";
c.moveToNext();