AryanGupta
(Aryan Gupta)
September 9, 2020, 6:26am
#1
i am creating a app with 200 levels .
i don’t know how to create dynamic card view in vertical arrangment with a id of +2 in every card views.
i want to make levels horrizontallly look like
1,2,3
4,5,6,
7,8,9,
…
but i have i don’t know how to create .
i want to make a button on every card view.
please help me
here is a app already published on playstore
Brain Out – Can you pass it? – Apps on Google Play
What is your IQ level? 🤔Blow your mind with Brain Out and show to your friends that you are not completely stupid!
🔥“Brain Out” is an addictive free tricky puzzle game with a series of tricky brain teasers and different riddles testing challenge your mind😝. It evaluates your logical think ability, reflexes, accuracy, memory and creativity. Do not answer the quests ❌in the ordinary way if you don’t want to be tricked. The solution subverts normal thinking is the most interesting thing in this tr...
Free
i want to make level page like this app
AryanGupta:
id of +2
in the for each number from m to n by d
block, set the last input to 2.
By 68 --> incrementing by 68 every iteration, in your example blocks.
Simple.
If(number % 3 ===0){
New line
}
There is block called modulo use it if incremental number is modulo of 3 then new line else continue.
So it gives this
123
456
789
…
AryanGupta
(Aryan Gupta)
September 9, 2020, 6:37am
#4
ShaikhSajidAli:
modulo
what number i have to fill and where i have to put
AryanGupta
(Aryan Gupta)
September 9, 2020, 6:51am
#7
i think it will create 603 levels
ADDYLIN
(ADDYLIN)
September 9, 2020, 6:53am
#8
No you can try it and it will work absolutely fine.
from means where to start from
to means total length
by means what numbers to skip
So,
from 1 means start from 1
to 201 means not exceeding this number
by 3 means -
1st number will be 1 ( derived from “from” )
2nd number will be first number +3 : 1 + 3 = 4
AryanGupta
(Aryan Gupta)
September 9, 2020, 6:55am
#9
what id i have to put in dynamic button id
I personally would simplify the IDs like:
0_1, 0_2, 0_3
1_1, 1_2, 1_3
2_1, 2_2, 2_3
…and so on.
AryanGupta
(Aryan Gupta)
September 9, 2020, 7:08am
#12
my blocks not woking
it shows a error-
Runtime Error
com.google.appinventor.components.runtime.MakeroidCardView$CardViewHelper cannot be cast to
android.widget.LinearLayout
AryanGupta
(Aryan Gupta)
September 9, 2020, 7:09am
#13
here is my aia
quizp.aia (17.6 KB)
please help me
ADDYLIN
(ADDYLIN)
September 9, 2020, 7:13am
#14
if you are using Dynamic Components Extension
Then only use Dynamic Components Extension
if you are using inbuilt Dynamic Components
Then only use inbuilt Dynamic Components
You can not mix and match them.
AryanGupta
(Aryan Gupta)
September 9, 2020, 7:13am
#15
okay, thanks i will try.
and wait can you edit my aia file
1 Like
ADDYLIN
(ADDYLIN)
September 9, 2020, 7:15am
#16
Yes,
But i am in Zoom Lectures till 4:00PM
ADDYLIN
(ADDYLIN)
September 9, 2020, 7:18am
#20
We are going off-topic.
Let’s withdraw our off-topic comments.
1 Like
AryanGupta
(Aryan Gupta)
September 9, 2020, 7:26am
#22
hey i am getting a error
Problem with application
Property setter was expecting a com.google.appinventor.components.runtim.button component but got a IntNum instead.
please solve