Reputation: 6 Worker
- Active Members
- Active Posts:
- 148 (0.11 per day)
- 27-February 11
- Profile Views:
- Last Active:
- Mar 10 2013 08:09 AM
- Dream Kudos:
Posts I've Made
Posted 9 Mar 2013cheers for the suggestion, will give it a try.
Posted 2 Jan 2013thanks for the really helpful posts, really appreciate them.
I've sort of got something setup, it works but I prefer your method. It looks neater and appears better practice.
At the moment, I've got it setup so that onCreate creates a new instance of a question class. In the constructor a first number and second number are generated at random and then the answer is calculated.
In my activity_class, I then use these values to set the textfields in the app.
I will let you know how I get on after a bit of refactoring here and there.
Posted 2 Jan 2013I'm sorry, I'm a still a little confused. At the moment, I have an addition_activity which is called on when the addition button is pressed.
I'm guessing that I could use this addition_activity as the GUI. Would I need to create a question layout in the GUI builder and then use a ViewBinder or am I going off track there?
Also,Where would you suggest I store the questions? To generate them, I was simply going to use the random function to generate 2 numbers as the basis of the question.
Thanks for the reply
- Member Title:
- D.I.C Head
- Age Unknown
- Birthday Unknown