Tampilkan postingan dengan label android context. Tampilkan semua postingan
Tampilkan postingan dengan label android context. Tampilkan semua postingan

Minggu, 29 Desember 2013

Android Context

Okay, this part is one of my effort to understand about Context.

I am no hard core java programmer, in fact is a noob, so I will need to memorize this. Also I dont like to read lengthy reference.

I only read first line of the reference which says Android Context extends Object.

Knowing that, this 4 lines code does make sense:

private final Context mCtx;

public void RemindersDBAdapter (Context ctx) {
         this.mCtx = ctx;
}

So it means that this ctx will have type Context or we are creating specific Object.