task tag

10 questions


1 answers
105 views
0
What is the meaning of void in the AsyncTask argument?

public static class DownloadWorker extensions AsyncTask <Void, void, void{ @ Override Protected String doInBackground (Void...voids) { return null;


1 answers
80 views
0
I want to use Firebase (FirebaseStorage, Realtimedatabase) to display images on Android.

teratail posts the same question.On Android, we are developing an app that uses Firebase (FirebaseStorage, Realtimedatabase) to display images, text, etc.Text data is kept in the Realtimedatabase and ...


1 answers
87 views
0
How to float Toast on Android.

How do I float Toast on Android?


1 answers
113 views
0
After pressing the home key on the activity screen, can I get the start screen when I re-enter the application?

I opened the ppt through Polaris application by clicking the button on B activity, which is the first screen of application a.In that state, press the Home key to go to the Home screen.At this time, I...

2 years ago

1 answers
138 views
0
Exception handling question when asynctask communicates with the server.

The server has been parsing in JSON format through async asynchronous communication. However, sometimes if the server is being checked or there is a problem with the server, an error appears immediate...


1 answers
97 views
0
Neither Android AsyncTask, onPreExecute(), nor doInBackground() will run.

Hi, everyone. I'm leaving a question for the first time.Run AsyncTask on the main thread as follows: FetchPlacesListTask placesListTask = new FetchPlacesListTask(this); placesListTask.execute(catego...


2 answers
115 views
0
Is it possible to put the recycling view inside the recycling view?

I'm implementing the bulletin board, but the comments are listed as a recycler view. By the way, if I click View the comments in the view comment, I want to make 3 replies and 10 replies pop up, so ca...


1 answers
123 views
0
Meaning of task.get

try { task.get(1000, TimeUnit.MILLISECONDS); } } catch (ExecutionException e) { e.printStackTrace(); } } catch (InterruptedException e) { e.printStackTrace(); } } catch (TimeoutException e) { e.pr...


1 answers
68 views
0
Recyclerview spinner? It's a question.

If you look at a lot of screens on an app or on the web, I want to implement a function that shows data in a list view or a recycling view, and when you click on them, the view is pushed down and a de...


1 answers
132 views
0
Question about Android AsyncTask.

I have read the document about AsyncTask, so I made a simple program as below.But it's not working. How can I modify it?package com.test;import android.app.Activity;import android.os.AsyncTask;import ...


© 2024 OneMinuteCode. All rights reserved.