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
4d3505cc
Commit
4d3505cc
authored
Feb 02, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ダッシュボードで、getReportStatusCountを実装し、アプリ側から強制的に実行するようにした。
JS側が受けてくれないので、実際に表示には反映されない。
parent
728ae416
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
ABVJE_Launcher_Android/assets/dashboard
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/DashboardActivity.java
+9
-2
No files found.
dashboard
@
8f1954b9
Subproject commit
7bcb5bfc6820f6ea7f9dc94d32dc982deaced578
Subproject commit
8f1954b9979d4a4f494c8f6a04ab454732e7208b
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/DashboardActivity.java
View file @
4d3505cc
...
@@ -78,6 +78,7 @@ public class DashboardActivity extends OperationActivity {
...
@@ -78,6 +78,7 @@ public class DashboardActivity extends OperationActivity {
private
WebView
webView
;
private
WebView
webView
;
private
ProgressBar
progress
;
private
ProgressBar
progress
;
private
boolean
countInitialized
=
false
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
...
@@ -261,9 +262,13 @@ public class DashboardActivity extends OperationActivity {
...
@@ -261,9 +262,13 @@ public class DashboardActivity extends OperationActivity {
try
{
try
{
switch
(
cmd
)
{
switch
(
cmd
)
{
case
CMD_GET_REPORT_STATUS_COUNT:
{
case
CMD_GET_REPORT_STATUS_COUNT:
{
countInitialized
=
true
;
return
getReportStatusCount
();
return
getReportStatusCount
();
}
}
case
CMD_GET_REPORT_LIST:
{
case
CMD_GET_REPORT_LIST:
{
if
(!
countInitialized
)
{
getReportStatusCount
();
}
String
reportStatusId
=
param
.
get
(
ReportStatusId
);
String
reportStatusId
=
param
.
get
(
ReportStatusId
);
if
(
reportStatusId
!=
null
)
{
if
(
reportStatusId
!=
null
)
{
return
getReportList
(
Integer
.
parseInt
(
reportStatusId
));
return
getReportList
(
Integer
.
parseInt
(
reportStatusId
));
...
@@ -301,8 +306,10 @@ public class DashboardActivity extends OperationActivity {
...
@@ -301,8 +306,10 @@ public class DashboardActivity extends OperationActivity {
}
}
private
boolean
getReportStatusCount
()
{
private
boolean
getReportStatusCount
()
{
//todo
ReportStatusDao
dao
=
AbstractDao
.
getDao
(
ReportStatusDao
.
class
);
return
false
;
JSONObject
extParam
=
dao
.
getReportStatusCountJson
();
afterABookCheckApi
(
CMD_GET_REPORT_STATUS_COUNT
,
""
,
0
,
""
,
extParam
.
toString
());
return
true
;
}
}
private
boolean
getReportList
(
int
reportStatusId
)
{
private
boolean
getReportList
(
int
reportStatusId
)
{
...
...
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