So I start off by creating a custom object "Book"
Book b = new Book(id, title.getText().toString(),authors , isbn.getText().toString(), "$9.99");
All of these parameters are defined and not null. Next I take the object "b" and put it into an Intent as follows:
resultIntent.putExtra(BOOK_RESULT_KEY, b);
Still good. Retrieving the object here gets exactly what was put in, expectedly:
Book test = (Book) resultIntent.getExtras().get(BOOK_RESULT_KEY);
Finish and return to parent activity with the intent as a result:
setResult(RESULT_OK, resultIntent);
finish();
Off to the parent activity:
Book b = (Book) intent.getExtras().get(AddBookActivity.BOOK_RESULT_KEY);
Here lies the issue. All the attributes of this object book are there, except the authors[]. What I get is an array (authors[]) with the correct length, but each element in the array is now null. I am 100 percent positive it was there when it was placed into the intent. Why can I not get the contents of this array?