Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
58bc0112
Commit
58bc0112
authored
Sep 01, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'features/1.4.100_develop' into 'features/1.4.100'
ローディング表示修正 See merge request
!210
parents
99c6b374
54256409
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
4 deletions
+56
-4
ABVJE_Launcher_Android/assets/check
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
+55
-3
No files found.
check
@
9b54d9b5
Subproject commit
bb40d8b5ff5efc1bccdf7cfe9858a036ee33c940
Subproject commit
9b54d9b5075f06e33975777cd1d47751bfeddc92
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
View file @
58bc0112
...
...
@@ -591,11 +591,37 @@ public class OperationListActivity extends ABVUIActivity {
handler
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
showProgress
Popup
(
);
showProgress
View
(
getString
(
R
.
string
.
msg_common_processing
)
);
}
});
if
(
firstFlg
)
{
dataRefresh
(
true
);
final
Callback
progressCallback
=
new
Callback
()
{
@Override
public
Object
callback
(
Object
ret
)
{
final
int
progress
=
(
int
)
ret
;
runOnUiThread
(
new
Runnable
()
{
@Override
public
void
run
()
{
if
((
progressDialogHorizontal
.
getProgress
()
+
progress
)
<
100
)
{
progressDialogHorizontal
.
setProgress
(
progressDialogHorizontal
.
getProgress
()
+
progress
);
}
else
{
progressDialogHorizontal
.
setProgress
(
100
);
}
}
});
return
null
;
}
};
try
{
dataRefresh
(
true
,
progressCallback
);
}
catch
(
Exception
e
)
{
handler
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
closeProgressPopup
();
}
});
}
firstFlg
=
false
;
}
runOnUiThread
(
new
Runnable
()
{
...
...
@@ -1344,7 +1370,33 @@ public class OperationListActivity extends ABVUIActivity {
if
(
progress
>=
100
)
{
closeProgressPopup
();
//新着更新
dataRefresh
(
true
);
final
Callback
progressCallback
=
new
Callback
()
{
@Override
public
Object
callback
(
Object
ret
)
{
final
int
progress
=
(
int
)
ret
;
runOnUiThread
(
new
Runnable
()
{
@Override
public
void
run
()
{
if
((
progressDialogHorizontal
.
getProgress
()
+
progress
)
<
100
)
{
progressDialogHorizontal
.
setProgress
(
progressDialogHorizontal
.
getProgress
()
+
progress
);
}
else
{
progressDialogHorizontal
.
setProgress
(
100
);
}
}
});
return
null
;
}
};
try
{
dataRefresh
(
true
,
progressCallback
);
}
catch
(
Exception
e
)
{
handler
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
closeProgressPopup
();
}
});
}
}
else
{
handler
.
postDelayed
(
this
,
1000
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment