WISH TO CONTRIBUTE VIDEOS ON GEEKSFORGEEKS? Please submit this Google Form - docs.google.com/forms/d/e/1FAIpQLScSVFlE-stz69M_l46xcwZlVRzDxT_91dlc-px5ytr7QHYmkQ/viewform
How can I assign the values to each of the answers and change this from a quiz app to an app that is a price estimator? I want to give quotes/estimates to people who want video editing done and this app will help give people an idea of costs.
Yes. He is using the random() method, so same questions will repeat that's obvious. Hint - 1 : Just Create a method isAttempted(), and check if ( isAttempted()) is true... If true, then call the setDataToViews() method again... Hopefully it'll resolve. Hint - 2 : Its not necessary to use random() method. You can simply traverse through the ArrayList from start till end.. In that case no such scenarios of repeating questions will generate... In my opinion it's not recommended to use random() method.. if you are displaying the attempted questions and score...
I developed the app and following are the issues in the app. 1.The Max obtained points will be 9 even if you answer everything correctly. 2.Even if you give 10 different questions, same questions get displayed again and again.
I did the same thing but first I gave a home page showing welcome and gave a get started button. When I click the button it should go to the questions page but the app is getting closed. Before I wrote code for questions, it worked and directed to questions page(empty at first) but after writing code it keeps getting directed back..can someone explain me why this is happening??
I am trying this app working good. But attempt questions complete show bottom sheet dialogue box. Whenever click restart button again open bottom sheet dialogue box. How to solve
he did the misstake at retartQuizBtn. on the "Onclick" questionsattempted = 0; must be at the start before the currentpos = random thing otherwise it will open it twice
Sir/madam, actually iam developing a small quiz app of 10 levels, and iam stuck now, because I don't know how to code to lock and unlock 🔒➕🔓 levels and store in shared preference, please help me.
He is using the random() method, so same questions will repeat that's obvious. Hint - 1 : Just Create a method isAttempted(), and check if ( isAttempted()) is true... If true, then call the setDataToViews() method again... Hopefully it'll resolve. Hint - 2 : Its not necessary to use random() method. You can simply traverse through the ArrayList from start till end.. In that case no such scenarios of repeating questions will generate... In my opinion it's not recommended to use random() method.. if you are displaying the attempted questions and score...
WISH TO CONTRIBUTE VIDEOS ON GEEKSFORGEEKS? Please submit this Google Form - docs.google.com/forms/d/e/1FAIpQLScSVFlE-stz69M_l46xcwZlVRzDxT_91dlc-px5ytr7QHYmkQ/viewform
Variable 'currentpos' is accessed from within inner class, needs to be final or effectively final getting this issue in my onlick how to solve it sir
For those who have the problem about all correct but getting 9/10, just change the questionattemp to 0. questionattemp =1 means its already counted.
Thank you❤
you saved my life for my assignment! thank you so much!
I was surprised 😯, by looking at pasting the same code 4 times. Especially in this channel 😥.
where can i get the source code for this project
whats the backend of this project
Next video on file sharing android app please 💯
How can I assign the values to each of the answers and change this from a quiz app to an app that is a price estimator? I want to give quotes/estimates to people who want video editing done and this app will help give people an idea of costs.
Thankyou ❤️...
nice approach!
The app works for me but how do I set questions not to repeat themselves (because of the random)?
did you get the solution ?
did you get the solution ?
Yes.
He is using the random() method, so same questions will repeat that's obvious.
Hint - 1 : Just Create a method isAttempted(), and check if ( isAttempted()) is true... If true, then call the setDataToViews() method again... Hopefully it'll resolve.
Hint - 2 : Its not necessary to use random() method. You can simply traverse through the ArrayList from start till end.. In that case no such scenarios of repeating questions will generate... In my opinion it's not recommended to use random() method.. if you are displaying the attempted questions and score...
can you show how to stop the questions from repeating the same questions ??
How to implement admin panel and also add purchase code verification process. Please reply 😔😔😔.
Thank you ❤️
I developed the app and following are the issues in the app.
1.The Max obtained points will be 9 even if you answer everything correctly.
2.Even if you give 10 different questions, same questions get displayed again and again.
May be the number obtained loop is less than number of the question (
Hey abhishek..
I'm trying to implement a small quiz application for the project..
Pls guide me.
Same here
Did you got solution bro if yes the please tell me how
Try this, questionattempted = "1" is right their, Change this, questionattempted = "0"
I did the same thing but first I gave a home page showing welcome and gave a get started button. When I click the button it should go to the questions page but the app is getting closed. Before I wrote code for questions, it worked and directed to questions page(empty at first) but after writing code it keeps getting directed back..can someone explain me why this is happening??
Sir please tell me in this project we need any api
I am trying this app working good.
But attempt questions complete show bottom sheet dialogue box.
Whenever click restart button again open bottom sheet dialogue box.
How to solve
he did the misstake at retartQuizBtn.
on the "Onclick"
questionsattempted = 0;
must be at the start before the currentpos = random thing
otherwise it will open it twice
Done successfully.
App working good 👍
@@psycho5553 do you know how to show the right answer when you get the wrong answer??
Did you know how to show the correct answer
Bro plz next time turn on dark theme
Eye hurts
Pls add random question and restart button and share intent result
hola.. como puedo omitir el random?? quiero que las preguntas vayan en el orden que fueron escritos y no que se repita.. gracias
Sir/madam, actually iam developing a small quiz app of 10 levels, and iam stuck now, because I don't know how to code to lock and unlock 🔒➕🔓 levels and store in shared preference, please help me.
the score sheet doesn't show up, why is that?
Is this kotlin or java???
Java it is.
i didn’t get mainactivity java file
which editer is used for it
It's Android Studio.
It's not an editor it's an open source software.
The app works for me but why the question just repeat ,can someone help me ?
He is using the random() method, so same questions will repeat that's obvious.
Hint - 1 : Just Create a method isAttempted(), and check if ( isAttempted()) is true... If true, then call the setDataToViews() method again... Hopefully it'll resolve.
Hint - 2 : Its not necessary to use random() method. You can simply traverse through the ArrayList from start till end.. In that case no such scenarios of repeating questions will generate... In my opinion it's not recommended to use random() method.. if you are displaying the attempted questions and score...
Bottom Sheet Dialog ki error aa rahi hai, please help me
Error kya hai?
source code ???
Available
@@kojagirdevelopers too late.. I have already finished 2 semesters
@@neloyislam4002 I created this code today only.
@@kojagirdevelopers hello i need the source code do you hava it?
Sir hindi me ni bnega kya video
If you have answered the questions and the score has not changed, delete the toLowerCase in option1Btn in onClick,
The same goes for the other options
Whatever you select but ans are always 9 correct 🤣
Try this, questionattempted = "1" is right their, Change this, questionattempted = "0"
The problem is with the extra semi colons at the end of option3Btn and all the other options
anybody plz provide source code
See description carefully
I have
👌👌
Thankyou ❤️...