Search code examples
Initialize a Stripe Object in new Android Studio...


javaandroidstripe-paymentsandroid-context

Read More
Kotlin : getResources() on a null object reference...


androidarrayskotlinandroid-context

Read More
ContextCompat.getcolor() going to null object reference...


androidandroid-context

Read More
Bluetooth device discovery in Android -- startDiscovery()...


androidandroid-intentbluetoothandroid-adapterandroid-context

Read More
Java -> Context, Expression expected?...


javaandroidandroid-context

Read More
Can't separate methods from MainActivity class...


javaandroidalarmmanagerandroid-contextandroid-alarms

Read More
Get Context in fragment from Custom Aler Dialog Class android...


androidandroid-activityandroid-alertdialogandroid-context

Read More
Toast: Docs' tutorials say to use getApplicationContext, but Docs References say to use getAppli...


androidandroid-contexttoastandroid-toast

Read More
Intent: Avoiding memory leaks when one instantiates an Intent, by using getApplicationContext()?...


androidandroid-intentandroid-context

Read More
When should we call getContext and getActivity once and for all?...


androidandroid-activityandroid-context

Read More
Android: Memory leaks because of activity and context stored as objects attributes?...


androidandroid-activityandroid-contextandroid-memory

Read More
Context and Activity's reference...


androidandroid-activityassetsandroid-context

Read More
Passing `Context` everywhere seems messy - create classes to handle different interactions with cont...


javaandroidandroid-context

Read More
Android: Can a ListView Adapter use the context of its constructor for Toast?...


androidandroid-adapterandroid-context

Read More
Is it normal to pass on context to lots of methods?...


androidandroid-activitysingletonandroid-context

Read More
getContext() method returns null in fragment. Is it a good idea to keep the context in a variable? I...


androidandroid-context

Read More
What is the difference between Activity and Context?...


androidandroid-activityandroid-context

Read More
Is it a bad practice to have Context in MVP Model's constructor parameter?...


androidandroid-contextandroid-mvp

Read More
What should be the context parameter for ContextCompat.getDrawable( )?...


javaandroidandroid-context

Read More
Android Unit Tests : Mock context that also returns a looper...


javaandroidunit-testingandroid-contextandroid-looper

Read More
Android - Registering a Receiver from a Static 'helper' Method (can't get context)?...


javaandroidbroadcastreceiverandroid-contextandroid-broadcast

Read More
Memory-leak free Singleton with context...


androidkotlinsingletonandroid-context

Read More
Android Context from another class...


androidandroid-context

Read More
Can an Android Context inside an activity be static?...


javaandroidkotlinstaticandroid-context

Read More
Should we always nullcheck Context inside a fragment?...


androidkotlinandroid-context

Read More
Why parts of my app working with one context and don't work with another?...


androidandroid-context

Read More
how to get fragment object from context...


androidandroid-fragmentssearchviewandroid-context

Read More
How does ContextWrapper.registerReceiver() function works to dynamically register a receiver?...


javaandroidandroid-contextandroid-broadcastreceiver

Read More
Getting NullPointerException in context...


javaandroidandroid-contextfirebase-mlkit

Read More
Use cases of Context in Android Development (Fragment, etc)...


androidandroid-fragmentsandroid-activityandroid-fragmentactivityandroid-context

Read More
BackNext