Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import android.content.Context;
- import android.os.Handler;
- import android.os.Looper;
- import android.util.Log;
- import android.widget.Toast;
- import androidx.annotation.NonNull;
- import androidx.work.Worker;
- import androidx.work.WorkerParameters;
- import static android.content.ContentValues.TAG;
- public class MyWork extends Worker {
- public MyWork(@NonNull Context context, @NonNull WorkerParameters workerParams) {
- super(context, workerParams);
- }
- @NonNull
- @Override
- public Result doWork() {
- Log.e(TAG, "doWork: WOrkinh???");
- return Result.success();
- }
- }
Add Comment
Please, Sign In to add comment