caseydavenport / biermacht

Homebrewer's Companion for Android
Apache License 2.0
23 stars 10 forks source link

Write styles to SQLite to avoid reading from XML all the time. #51

Closed caseydavenport closed 8 years ago

caseydavenport commented 8 years ago

Also fixes

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.ArrayList com.biermacht.brews.utils.IngredientHandler.getStylesList()' on a null object reference
    at com.biermacht.brews.frontend.AddRecipeActivity.getList(AddRecipeActivity.java:295)
    at com.biermacht.brews.frontend.IngredientActivities.AddEditActivity.onCreate(AddEditActivity.java:185)
    at com.biermacht.brews.frontend.AddRecipeActivity.onCreate(AddRecipeActivity.java:73)
    at com.biermacht.brews.frontend.IngredientActivities.EditRecipeActivity.onCreate(EditRecipeActivity.java:46)
    at android.app.Activity.performCreate(Activity.java:6550)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1120)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3102)
    ... 10 more