Spikeysanju / MotionToast

🌈 A Beautiful Motion Toast Library for Kotlin Android
1.48k stars 130 forks source link

Toast not working in a service #11

Open Dhruvkanani opened 4 years ago

Dhruvkanani commented 4 years ago

It is a normal floating service. First argument of Toast shows an error when I enter this,service_name.this,getapplicationcontext(),service_name.this.getapplicationcontext(). Nothing works. Please give a solution of this problem.