When I am working with libraries in java, I usually have to pass ba obects in methods to suffice for the expected parameter. For example...
Now I have method(Bundle bundle) where the program expects savedInstanceState for bundle, what ba object do I send that captures savedInstanceState?
- When faced with method(Context context), I will pass ba.context
- When faced with method(Activity activity), I will pass ba.activity
Now I have method(Bundle bundle) where the program expects savedInstanceState for bundle, what ba object do I send that captures savedInstanceState?