Skip to content

Commit

Permalink
fix bug #426. Context is injected into codeBehind for custom ViewModel
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-mauky committed Aug 9, 2016
1 parent 085590b commit aaec99c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ public Object call(Class<?> type) {
ResourceBundleInjector.injectResourceBundle(codeBehind, resourceBundle);

ViewLoaderReflectionUtils.injectViewModel(codeBehind, customViewModel);
ViewLoaderReflectionUtils.injectContext(codeBehind, context);

customViewModelInjected = true;
return codeBehind;
Expand Down

0 comments on commit aaec99c

Please sign in to comment.