Dates will now popup
This commit is contained in:
parent
322e4895b6
commit
163751189b
@ -867,7 +867,12 @@ public class BookEditFields extends Activity {
|
|||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
pages = 0;
|
pages = 0;
|
||||||
}
|
}
|
||||||
String format = spinnerAdapter.getItem(mFormatText.getSelectedItemPosition());
|
String format = "";
|
||||||
|
try {
|
||||||
|
format = spinnerAdapter.getItem(mFormatText.getSelectedItemPosition());
|
||||||
|
} catch (IndexOutOfBoundsException e) {
|
||||||
|
//do nothing - format is hidden
|
||||||
|
}
|
||||||
String description = mDescriptionText.getText().toString();
|
String description = mDescriptionText.getText().toString();
|
||||||
String genre = mGenreText.getText().toString();
|
String genre = mGenreText.getText().toString();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user