So, I have to create few items, like Buttons and TextViews, from a service.
Since I need to pass along a Context when I create a new one, and since my service doesn't have one, I thought about doing it like this
Button button = new Button(getApplicationContext());
It works, but is it the best solution? I read a lot about how you have to be extra careful when using application context, so I'm not sure if it's the proper way to achieve what I need
Thanks in advance