나는 응용 프로그램 삭제의 기본 브라우저의 기록을 안드로이드를 이해하는 응용 프로그램을 개발하려고합니다. 나는 그것을 표시 할 수 있습니다 CircularProgress
을 구현하려는 History
안드로이드에서 진행 텍스트로 원형 진행률 막대를 구현하는 방법은 무엇입니까?
ProgressDialog pd;
new AsyncTask<Void, Void, Void>()
{
@Override
protected void onPreExecute()
{
pd = ProgressDialog.show(HistoryClean.this, "Loading..",
"Please Wait", true, false);
}//End of onPreExecute method
@Override
protected Void doInBackground(Void... params)
{
Browser.clearHistory(getContentResolver());
return null;
}//End of doInBackground method
@Override
protected void onPostExecute(Void result)
{
pd.dismiss();
}//End of onPostExecute method
}.execute((Void[]) null);//End of AsyncTask anonymous class
그러나 대신 ProgressDialog
을 삭제하고있어 어떻게 모든 것은 내가 여기 ProgressDialog
와 함께 작업을 수행하는 AsyncTask
을 사용하고, 괜찮 노력하고 있습니다 진행률 값은 10% , 90%....
과 같이 나타낼 수 있습니다. 일부는 History
이 더 빨리 삭제 될 수 있으며이 문제를 해결하고 동적으로을 업데이트하는 속도가 느려질 수 있습니다.바 (Progression Values
).
미리 감사드립니다.
게시 한 링크를 참조했습니다. 그러나 'CircularProgressBar'를 업데이트하려면 hoe가 필요합니다. –