(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
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 { |
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(); |