Hi,
I am attempting to create a simple card game and have reached a road when it comes to displaying the data from a single row into multiple textViews.
My current thought process is to:
I have included the classes I used below via PasteBin:
Thank you all.
I am attempting to create a simple card game and have reached a road when it comes to displaying the data from a single row into multiple textViews.
My current thought process is to:
- Using a databasehelper class to select a row within the table
- Pass the results through a cursor and save the data to a Card class
- I then attempt to parse the class through an arrayadapter
- I try to display the arrayadapter in the final class.
I have included the classes I used below via PasteBin:
- Database Helper - CardsDBtest.java
- [Java] CardsDBtest - Pastebin.com
- Card class - Card.java
- [Java] Cards - Pastebin.com
- ArrayAdapter - CardAdapter.java
- [Java] CardAdapter - Pastebin.com
- Main Activity - SP_game.java
- [Java] SP_game - Pastebin.com
Thank you all.