Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
Research-Project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jayakody J.A.D.K.A - IT19114040
Research-Project
Commits
2db93eb2
Commit
2db93eb2
authored
May 03, 2022
by
Anuththara18
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Selective Attention - Getting stimulus & colour
parent
d060ffdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
111 additions
and
2 deletions
+111
-2
app/src/main/java/com/anuththara18/attentionassessment/selective/SelectiveACompleteScreen.java
...tentionassessment/selective/SelectiveACompleteScreen.java
+12
-1
app/src/main/java/com/anuththara18/attentionassessment/selective/SelectiveAttentionGame1.java
...ttentionassessment/selective/SelectiveAttentionGame1.java
+99
-1
No files found.
app/src/main/java/com/anuththara18/attentionassessment/selective/SelectiveACompleteScreen.java
View file @
2db93eb2
...
@@ -175,7 +175,11 @@ public class SelectiveACompleteScreen extends AppCompatActivity {
...
@@ -175,7 +175,11 @@ public class SelectiveACompleteScreen extends AppCompatActivity {
try
{
try
{
writer
=
new
CSVWriter
(
new
FileWriter
(
csv
));
writer
=
new
CSVWriter
(
new
FileWriter
(
csv
));
String
[]
entries
=
{
"id"
,
"child_gender"
,
"child_age"
,
"level"
,
"total_correct_responses"
,
"correct_responses"
,
"commission_errors"
,
"omission_errors"
,
"mean_reaction_time"
,
"total_duration"
,
"diagnosis"
};
String
[]
entries
=
{
"id"
,
"child_gender"
,
"child_age"
,
"level"
,
"stimulus"
,
"colour"
,
"sequence_of_responses"
,
"no_of_clicks"
,
"order_of_selection"
,
"total_correct_responses"
,
"correct_responses"
,
"commission_errors"
,
"omission_errors"
,
"mean_reaction_time"
,
"total_duration"
,
"diagnosis"
};
writer
.
writeNext
(
entries
);
writer
.
writeNext
(
entries
);
List
<
String
[]>
data
=
new
ArrayList
<
String
[]>();
List
<
String
[]>
data
=
new
ArrayList
<
String
[]>();
...
@@ -187,6 +191,13 @@ public class SelectiveACompleteScreen extends AppCompatActivity {
...
@@ -187,6 +191,13 @@ public class SelectiveACompleteScreen extends AppCompatActivity {
String
.
valueOf
(
String
.
valueOf
(
gameData
.
getChildID
()).
charAt
(
0
)),
String
.
valueOf
(
String
.
valueOf
(
gameData
.
getChildID
()).
charAt
(
0
)),
String
.
valueOf
(
String
.
valueOf
(
gameData
.
getChildID
()).
charAt
(
1
)),
String
.
valueOf
(
String
.
valueOf
(
gameData
.
getChildID
()).
charAt
(
1
)),
String
.
valueOf
(
String
.
valueOf
(
gameData
.
getChildID
()).
charAt
(
2
)),
String
.
valueOf
(
String
.
valueOf
(
gameData
.
getChildID
()).
charAt
(
2
)),
String
.
valueOf
(
SelectiveAttentionGame1
.
stimulus
),
String
.
valueOf
(
SelectiveAttentionGame1
.
colour
),
String
.
valueOf
(
"null"
),
String
.
valueOf
(
SelectiveAttentionGame1
.
no_of_clicks
),
String
.
valueOf
(
"null"
),
String
.
valueOf
(
gameData
.
getTotalCorrectResponses
()),
String
.
valueOf
(
gameData
.
getTotalCorrectResponses
()),
String
.
valueOf
(
gameData
.
getNoOfCorrectResponses
()),
String
.
valueOf
(
gameData
.
getNoOfCorrectResponses
()),
String
.
valueOf
(
gameData
.
getNoOfCommissionErrors
()),
String
.
valueOf
(
gameData
.
getNoOfCommissionErrors
()),
...
...
app/src/main/java/com/anuththara18/attentionassessment/selective/SelectiveAttentionGame1.java
View file @
2db93eb2
...
@@ -95,6 +95,12 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -95,6 +95,12 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
Random
random
;
Random
random
;
long
gameEnd
;
long
gameEnd
;
public
static
String
stimulus
;
public
static
String
colour
;
public
static
String
sequence_of_responses
;
public
static
int
no_of_clicks
;
public
static
String
order_of_selection
;
MediaPlayer
mp
;
MediaPlayer
mp
;
int
clickCount
=
0
;
int
clickCount
=
0
;
...
@@ -166,10 +172,14 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -166,10 +172,14 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
if
(
num
%
2
==
0
)
{
if
(
num
%
2
==
0
)
{
main_img
.
setImageResource
(
a
);
main_img
.
setImageResource
(
a
);
image_name
=
a1
;
image_name
=
a1
;
stimulus
=
"ladybird"
;
colour
=
"red"
;
}
}
else
{
else
{
main_img
.
setImageResource
(
b
);
main_img
.
setImageResource
(
b
);
image_name
=
b1
;
image_name
=
b1
;
stimulus
=
"butterfly"
;
colour
=
"blue"
;
}
}
}
}
else
if
(
level
==
2
)
{
else
if
(
level
==
2
)
{
...
@@ -178,14 +188,20 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -178,14 +188,20 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
if
(
num
>=
0
&&
num
<
40
)
{
if
(
num
>=
0
&&
num
<
40
)
{
main_img
.
setImageResource
(
a
);
main_img
.
setImageResource
(
a
);
image_name
=
a1
;
image_name
=
a1
;
stimulus
=
"ladybird"
;
colour
=
"red"
;
}
}
else
if
(
num
>=
40
&&
num
<
80
)
{
else
if
(
num
>=
40
&&
num
<
80
)
{
main_img
.
setImageResource
(
b
);
main_img
.
setImageResource
(
b
);
image_name
=
b1
;
image_name
=
b1
;
stimulus
=
"butterfly"
;
colour
=
"blue"
;
}
}
else
if
(
num
>=
80
&&
num
<
120
)
{
else
if
(
num
>=
80
&&
num
<
120
)
{
main_img
.
setImageResource
(
c
);
main_img
.
setImageResource
(
c
);
image_name
=
c1
;
image_name
=
c1
;
stimulus
=
"bee"
;
colour
=
"yellow"
;
}
}
}
}
else
if
(
level
==
3
)
{
else
if
(
level
==
3
)
{
...
@@ -194,18 +210,26 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -194,18 +210,26 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
if
(
num
>=
0
&&
num
<
30
)
{
if
(
num
>=
0
&&
num
<
30
)
{
main_img
.
setImageResource
(
a
);
main_img
.
setImageResource
(
a
);
image_name
=
a1
;
image_name
=
a1
;
stimulus
=
"ladybird"
;
colour
=
"red"
;
}
}
else
if
(
num
>=
30
&&
num
<
60
)
{
else
if
(
num
>=
30
&&
num
<
60
)
{
main_img
.
setImageResource
(
b
);
main_img
.
setImageResource
(
b
);
image_name
=
b1
;
image_name
=
b1
;
stimulus
=
"butterfly"
;
colour
=
"blue"
;
}
}
else
if
(
num
>=
60
&&
num
<
90
)
{
else
if
(
num
>=
60
&&
num
<
90
)
{
main_img
.
setImageResource
(
c
);
main_img
.
setImageResource
(
c
);
image_name
=
c1
;
image_name
=
c1
;
stimulus
=
"bee"
;
colour
=
"yellow"
;
}
}
else
if
(
num
>=
90
&&
num
<
120
)
{
else
if
(
num
>=
90
&&
num
<
120
)
{
main_img
.
setImageResource
(
d
);
main_img
.
setImageResource
(
d
);
image_name
=
d1
;
image_name
=
d1
;
stimulus
=
"bird"
;
colour
=
"green"
;
}
}
}
}
else
if
(
level
==
4
)
{
else
if
(
level
==
4
)
{
...
@@ -213,18 +237,26 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -213,18 +237,26 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
if
(
num
>=
0
&&
num
<
30
)
{
if
(
num
>=
0
&&
num
<
30
)
{
main_img
.
setImageResource
(
a
);
main_img
.
setImageResource
(
a
);
image_name
=
a1
;
image_name
=
a1
;
stimulus
=
"ladybird"
;
colour
=
"red"
;
}
}
else
if
(
num
>=
30
&&
num
<
60
)
{
else
if
(
num
>=
30
&&
num
<
60
)
{
main_img
.
setImageResource
(
b
);
main_img
.
setImageResource
(
b
);
image_name
=
b1
;
image_name
=
b1
;
stimulus
=
"butterfly"
;
colour
=
"blue"
;
}
}
else
if
(
num
>=
60
&&
num
<
90
)
{
else
if
(
num
>=
60
&&
num
<
90
)
{
main_img
.
setImageResource
(
c
);
main_img
.
setImageResource
(
c
);
image_name
=
c1
;
image_name
=
c1
;
stimulus
=
"bee"
;
colour
=
"yellow"
;
}
}
else
if
(
num
>=
90
&&
num
<
120
)
{
else
if
(
num
>=
90
&&
num
<
120
)
{
main_img
.
setImageResource
(
d
);
main_img
.
setImageResource
(
d
);
image_name
=
d1
;
image_name
=
d1
;
stimulus
=
"bird"
;
colour
=
"green"
;
}
}
}
}
else
if
(
level
==
5
)
{
else
if
(
level
==
5
)
{
...
@@ -232,22 +264,32 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -232,22 +264,32 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
if
(
num
>=
0
&&
num
<
20
)
{
if
(
num
>=
0
&&
num
<
20
)
{
main_img
.
setImageResource
(
a
);
main_img
.
setImageResource
(
a
);
image_name
=
a1
;
image_name
=
a1
;
stimulus
=
"ladybird"
;
colour
=
"red"
;
}
}
else
if
(
num
>=
20
&&
num
<
40
)
{
else
if
(
num
>=
20
&&
num
<
40
)
{
main_img
.
setImageResource
(
b
);
main_img
.
setImageResource
(
b
);
image_name
=
b1
;
image_name
=
b1
;
stimulus
=
"butterfly"
;
colour
=
"blue"
;
}
}
else
if
(
num
>=
40
&&
num
<
60
)
{
else
if
(
num
>=
40
&&
num
<
60
)
{
main_img
.
setImageResource
(
c
);
main_img
.
setImageResource
(
c
);
image_name
=
c1
;
image_name
=
c1
;
stimulus
=
"bee"
;
colour
=
"yellow"
;
}
}
else
if
(
num
>=
60
&&
num
<
80
)
{
else
if
(
num
>=
60
&&
num
<
80
)
{
main_img
.
setImageResource
(
d
);
main_img
.
setImageResource
(
d
);
image_name
=
d1
;
image_name
=
d1
;
stimulus
=
"bird"
;
colour
=
"green"
;
}
}
else
if
(
num
>=
80
&&
num
<
100
)
{
else
if
(
num
>=
80
&&
num
<
100
)
{
main_img
.
setImageResource
(
e
);
main_img
.
setImageResource
(
e
);
image_name
=
e1
;
image_name
=
e1
;
stimulus
=
"flower"
;
colour
=
"pink"
;
}
}
}
}
}
}
...
@@ -259,18 +301,26 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -259,18 +301,26 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
if
(
num
>=
0
&&
num
<
30
)
{
if
(
num
>=
0
&&
num
<
30
)
{
main_img
.
setImageResource
(
a
);
main_img
.
setImageResource
(
a
);
image_name
=
a1
;
image_name
=
a1
;
stimulus
=
"ladybird"
;
colour
=
"red"
;
}
}
else
if
(
num
>=
30
&&
num
<
60
)
{
else
if
(
num
>=
30
&&
num
<
60
)
{
main_img
.
setImageResource
(
b
);
main_img
.
setImageResource
(
b
);
image_name
=
b1
;
image_name
=
b1
;
stimulus
=
"butterfly"
;
colour
=
"blue"
;
}
}
else
if
(
num
>=
60
&&
num
<
90
)
{
else
if
(
num
>=
60
&&
num
<
90
)
{
main_img
.
setImageResource
(
c
);
main_img
.
setImageResource
(
c
);
image_name
=
c1
;
image_name
=
c1
;
stimulus
=
"bee"
;
colour
=
"yellow"
;
}
}
else
if
(
num
>=
90
&&
num
<
120
)
{
else
if
(
num
>=
90
&&
num
<
120
)
{
main_img
.
setImageResource
(
d
);
main_img
.
setImageResource
(
d
);
image_name
=
d1
;
image_name
=
d1
;
stimulus
=
"bird"
;
colour
=
"green"
;
}
}
}
else
if
(
level
==
2
)
{
}
else
if
(
level
==
2
)
{
// 5 objects
// 5 objects
...
@@ -278,22 +328,32 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -278,22 +328,32 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
if
(
num
>=
0
&&
num
<
20
)
{
if
(
num
>=
0
&&
num
<
20
)
{
main_img
.
setImageResource
(
a
);
main_img
.
setImageResource
(
a
);
image_name
=
a1
;
image_name
=
a1
;
stimulus
=
"ladybird"
;
colour
=
"red"
;
}
}
else
if
(
num
>=
20
&&
num
<
40
)
{
else
if
(
num
>=
20
&&
num
<
40
)
{
main_img
.
setImageResource
(
b
);
main_img
.
setImageResource
(
b
);
image_name
=
b1
;
image_name
=
b1
;
stimulus
=
"butterfly"
;
colour
=
"blue"
;
}
}
else
if
(
num
>=
40
&&
num
<
60
)
{
else
if
(
num
>=
40
&&
num
<
60
)
{
main_img
.
setImageResource
(
c
);
main_img
.
setImageResource
(
c
);
image_name
=
c1
;
image_name
=
c1
;
stimulus
=
"bee"
;
colour
=
"yellow"
;
}
}
else
if
(
num
>=
60
&&
num
<
80
)
{
else
if
(
num
>=
60
&&
num
<
80
)
{
main_img
.
setImageResource
(
d
);
main_img
.
setImageResource
(
d
);
image_name
=
d1
;
image_name
=
d1
;
stimulus
=
"bird"
;
colour
=
"green"
;
}
}
else
if
(
num
>=
80
&&
num
<
100
)
{
else
if
(
num
>=
80
&&
num
<
100
)
{
main_img
.
setImageResource
(
e
);
main_img
.
setImageResource
(
e
);
image_name
=
e1
;
image_name
=
e1
;
stimulus
=
"flower"
;
colour
=
"pink"
;
}
}
}
else
if
(
level
==
3
)
{
}
else
if
(
level
==
3
)
{
// 6 objects
// 6 objects
...
@@ -301,21 +361,33 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -301,21 +361,33 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
if
(
num
>=
0
&&
num
<
20
)
{
if
(
num
>=
0
&&
num
<
20
)
{
main_img
.
setImageResource
(
a
);
main_img
.
setImageResource
(
a
);
image_name
=
a1
;
image_name
=
a1
;
stimulus
=
"ladybird"
;
colour
=
"red"
;
}
else
if
(
num
>=
20
&&
num
<
40
)
{
}
else
if
(
num
>=
20
&&
num
<
40
)
{
main_img
.
setImageResource
(
b
);
main_img
.
setImageResource
(
b
);
image_name
=
b1
;
image_name
=
b1
;
stimulus
=
"butterfly"
;
colour
=
"blue"
;
}
else
if
(
num
>=
40
&&
num
<
60
)
{
}
else
if
(
num
>=
40
&&
num
<
60
)
{
main_img
.
setImageResource
(
c
);
main_img
.
setImageResource
(
c
);
image_name
=
c1
;
image_name
=
c1
;
stimulus
=
"bee"
;
colour
=
"yellow"
;
}
else
if
(
num
>=
60
&&
num
<
80
)
{
}
else
if
(
num
>=
60
&&
num
<
80
)
{
main_img
.
setImageResource
(
d
);
main_img
.
setImageResource
(
d
);
image_name
=
d1
;
image_name
=
d1
;
stimulus
=
"bird"
;
colour
=
"green"
;
}
else
if
(
num
>=
80
&&
num
<
100
)
{
}
else
if
(
num
>=
80
&&
num
<
100
)
{
main_img
.
setImageResource
(
e
);
main_img
.
setImageResource
(
e
);
image_name
=
e1
;
image_name
=
e1
;
stimulus
=
"flower"
;
colour
=
"pink"
;
}
else
if
(
num
>=
100
&&
num
<
120
)
{
}
else
if
(
num
>=
100
&&
num
<
120
)
{
main_img
.
setImageResource
(
f
);
main_img
.
setImageResource
(
f
);
image_name
=
f1
;
image_name
=
f1
;
stimulus
=
"bear"
;
colour
=
"brown"
;
}
}
}
else
if
(
level
==
4
)
{
}
else
if
(
level
==
4
)
{
// 6 objects
// 6 objects
...
@@ -323,21 +395,33 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -323,21 +395,33 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
if
(
num
>=
0
&&
num
<
20
)
{
if
(
num
>=
0
&&
num
<
20
)
{
main_img
.
setImageResource
(
a
);
main_img
.
setImageResource
(
a
);
image_name
=
a1
;
image_name
=
a1
;
stimulus
=
"ladybird"
;
colour
=
"red"
;
}
else
if
(
num
>=
20
&&
num
<
40
)
{
}
else
if
(
num
>=
20
&&
num
<
40
)
{
main_img
.
setImageResource
(
b
);
main_img
.
setImageResource
(
b
);
image_name
=
b1
;
image_name
=
b1
;
stimulus
=
"butterfly"
;
colour
=
"blue"
;
}
else
if
(
num
>=
40
&&
num
<
60
)
{
}
else
if
(
num
>=
40
&&
num
<
60
)
{
main_img
.
setImageResource
(
c
);
main_img
.
setImageResource
(
c
);
image_name
=
c1
;
image_name
=
c1
;
stimulus
=
"bee"
;
colour
=
"yellow"
;
}
else
if
(
num
>=
60
&&
num
<
80
)
{
}
else
if
(
num
>=
60
&&
num
<
80
)
{
main_img
.
setImageResource
(
d
);
main_img
.
setImageResource
(
d
);
image_name
=
d1
;
image_name
=
d1
;
stimulus
=
"bird"
;
colour
=
"green"
;
}
else
if
(
num
>=
80
&&
num
<
100
)
{
}
else
if
(
num
>=
80
&&
num
<
100
)
{
main_img
.
setImageResource
(
e
);
main_img
.
setImageResource
(
e
);
image_name
=
e1
;
image_name
=
e1
;
stimulus
=
"flower"
;
colour
=
"pink"
;
}
else
if
(
num
>=
100
&&
num
<
120
)
{
}
else
if
(
num
>=
100
&&
num
<
120
)
{
main_img
.
setImageResource
(
f
);
main_img
.
setImageResource
(
f
);
image_name
=
f1
;
image_name
=
f1
;
stimulus
=
"bear"
;
colour
=
"brown"
;
}
}
}
else
if
(
level
==
5
)
{
}
else
if
(
level
==
5
)
{
// 7 objects
// 7 objects
...
@@ -345,24 +429,38 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -345,24 +429,38 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
if
(
num
>=
0
&&
num
<
20
)
{
if
(
num
>=
0
&&
num
<
20
)
{
main_img
.
setImageResource
(
a
);
main_img
.
setImageResource
(
a
);
image_name
=
a1
;
image_name
=
a1
;
stimulus
=
"ladybird"
;
colour
=
"red"
;
}
else
if
(
num
>=
20
&&
num
<
40
)
{
}
else
if
(
num
>=
20
&&
num
<
40
)
{
main_img
.
setImageResource
(
b
);
main_img
.
setImageResource
(
b
);
image_name
=
b1
;
image_name
=
b1
;
stimulus
=
"butterfly"
;
colour
=
"blue"
;
}
else
if
(
num
>=
40
&&
num
<
60
)
{
}
else
if
(
num
>=
40
&&
num
<
60
)
{
main_img
.
setImageResource
(
c
);
main_img
.
setImageResource
(
c
);
image_name
=
c1
;
image_name
=
c1
;
stimulus
=
"bee"
;
colour
=
"yellow"
;
}
else
if
(
num
>=
60
&&
num
<
80
)
{
}
else
if
(
num
>=
60
&&
num
<
80
)
{
main_img
.
setImageResource
(
d
);
main_img
.
setImageResource
(
d
);
image_name
=
d1
;
image_name
=
d1
;
stimulus
=
"bird"
;
colour
=
"green"
;
}
else
if
(
num
>=
80
&&
num
<
100
)
{
}
else
if
(
num
>=
80
&&
num
<
100
)
{
main_img
.
setImageResource
(
e
);
main_img
.
setImageResource
(
e
);
image_name
=
e1
;
image_name
=
e1
;
stimulus
=
"flower"
;
colour
=
"pink"
;
}
else
if
(
num
>=
100
&&
num
<
120
)
{
}
else
if
(
num
>=
100
&&
num
<
120
)
{
main_img
.
setImageResource
(
f
);
main_img
.
setImageResource
(
f
);
image_name
=
f1
;
image_name
=
f1
;
stimulus
=
"bear"
;
colour
=
"brown"
;
}
else
if
(
num
>=
120
&&
num
<
140
)
{
}
else
if
(
num
>=
120
&&
num
<
140
)
{
main_img
.
setImageResource
(
g
);
main_img
.
setImageResource
(
g
);
image_name
=
g1
;
image_name
=
g1
;
stimulus
=
"pig"
;
colour
=
"pink"
;
}
}
}
}
}
}
...
@@ -428,7 +526,7 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
...
@@ -428,7 +526,7 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
Log
.
d
(
"omissionErrors"
,
String
.
valueOf
(
totalCorrectResponses
-
noOfCorrectResponses
));
Log
.
d
(
"omissionErrors"
,
String
.
valueOf
(
totalCorrectResponses
-
noOfCorrectResponses
));
Log
.
d
(
"commissionErrors"
,
String
.
valueOf
(
noOfCommissionErrors
));
Log
.
d
(
"commissionErrors"
,
String
.
valueOf
(
noOfCommissionErrors
));
Log
.
d
(
"duration"
,
String
.
valueOf
(
completionTime
));
Log
.
d
(
"duration"
,
String
.
valueOf
(
completionTime
));
no_of_clicks
=
noOfCorrectResponses
+
noOfCommissionErrors
;
GVAdapter2
adapter
=
new
GVAdapter2
(
getApplicationContext
(),
gridModelArrayList
);
GVAdapter2
adapter
=
new
GVAdapter2
(
getApplicationContext
(),
gridModelArrayList
);
gridView
.
setAdapter
(
adapter
);
gridView
.
setAdapter
(
adapter
);
gridView
.
setEnabled
(
false
);
gridView
.
setEnabled
(
false
);
...
...
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