Nightmare City — Andrew’s ghostly young adult novel — is now available in hardcover print editions and on all e-book platforms. The novel from publishers Thomas Nelson tells of high school newspaperman Tom Harding who wakes…
YouthWorker.com recently interviewed me on an off-beat topic: what my young adult novel If We Survive had to say about leadership. Here’s a bit of the exchange: YWJ: Is there a common thread/theme that runs through your…
I know — I can’t get this to fit at a reasonably readable size, but at least you can get a glimpse of what Thomas Nelson is working on for the full cover of my upcoming…
The e-book of The Last Thing I Remember, the opening volume in Andrew’s bestselling Homelanders series of thrillers for young adults will go on sale August 5th through August 26th as part of a back-to-school promotion. The…
Nightmare City, Andrew’s new thriller for young adults, doesn’t hit bookstores until November, but you can Pre-Order it now as an e-book for only $3.99. The book tells of high school newspaperman Tom Harding who wakes up…
Andrew will be in New York in July to attend ThrillerFest, the annual conference of the International Thriller Writers. The conference will be held at the Grand Hyatt July 10-13. Andrew will participate on a panel…
Most of Andrew’s young adult thrillers continue to be on sale at the Amazon Kindle store, with prices now down to $2.51. All the books in the Homelanders series — The Last Thing I Remember, The Long Way Home, The…
For those of you who enjoy — or think you might enjoy — or think you know someone who thinks he or she might enjoy — my young adult adventure novels: most of them are on…
Here’s a recent interview I did with 99.1 Family Radio in Ottawa about my young adult thriller Crazy Dangerous — click on the picture to listen — click on the title to buy the book.
The International Thriller Writers has nominated Andrew’s YA thriller If We Survive for its best young adult novel of 2013. The novel follows teenager Will Peterson and some friends as they journey to Central America on a mission…
Expandable list view is used to group list data by categories. It has the capability of expanding and collapsing the groups when user touches header.
2. Create a layout file for MainActivtiy.java under res ⇒ layout folder. I named the layout file as activity_main.xml. In this layout i had taken one expandable listview.
6. Now, come to MainActivity.java and add the following code. In this class we set the items to adapter and set it to expandablelistview and also we worked on some of its methods list expandgroup, collapsegroup, etc.
I am an Android developer for whom Android is the one and only love. I work as a freelancer which gets me and Android closer. I always love to share my learnings and love to learn from others knowledge too.
Hello , can u tell me how can i set empty array for one parent item like no child for it and click on parent show toast for it.
For this just pass empty array for parent for which you want no child. Then on click event of that parent check the children count by using method getChildrenCount, it will return you 1 or 0 not sure for empty child. On this basis you can show Toast for it.
tutorial is very helpful . but i want to set the arrow at left side . please help thanks . thank u so much for such a good and great tutorials……..
Unfortunately you cannot use fragment in ListView, GridView, ExpandableListView and RecyclerView. if you want to use fragment layout that you can use by providing layout as we use in ListView for custom row layout.
Subscribe to our mailing list and get interesting stuff and updates to your email inbox. We don't Spam.
Click below to consent to the use of the cookie technology provided by vi (video intelligence AG) to personalize content and advertising. For more info please access vi's website.