@Override public void onContentChanged() { super.onContentChanged(); mImage = (ImageViewTouch) findViewById(R.id.image);
/** * * @see android.app.Activity#onContentChanged() */ public void onContentChanged() { mActivity.onContentChanged(); }
@Override public void onContentChanged() { mOriginActivity.onContentChanged(); }
@Implementation public void setContentView(View view) { contentView = view; realActivity.onContentChanged(); }
@Override public void onContentChanged() { super.onContentChanged(); dispatcher.dispatchOnContentChanged(this); }
/** * Sets the {@code contentView} for this {@code Activity} by invoking the * {@link android.view.LayoutInflater} * * @param layoutResID ID of the layout to inflate * @see #getContentView() */ @Implementation public void setContentView(int layoutResID) { contentView = getLayoutInflater().inflate(layoutResID, new FrameLayout(realActivity)); realActivity.onContentChanged(); }
@Override public void onContentChanged() { Activity target = getCurrentActivity(); if (mTargetActivity != null) { mTargetActivity.onContentChanged(); } else { super.onContentChanged(); } }
@Override public void onContentChanged() { super.onContentChanged(); if (getController() != null && getController().getPlugin() != null) { getController().getPlugin().onContentChanged(); } }
public void onContentChanged() { if (ScriptLoader.isCalledFromJRuby()) {super.onContentChanged(); return;} if (!JRubyAdapter.isInitialized()) { Log.i("Method called before JRuby runtime was initialized: RubotoActivity#onContentChanged"); {super.onContentChanged(); return;} } String rubyClassName = scriptInfo.getRubyClassName(); if (rubyClassName == null) {super.onContentChanged(); return;} if ((Boolean)JRubyAdapter.runScriptlet(rubyClassName + ".instance_methods(false).any?{|m| m.to_sym == :onContentChanged}")) { JRubyAdapter.runRubyMethod(scriptInfo.getRubyInstance(), "onContentChanged"); } else { if ((Boolean)JRubyAdapter.runScriptlet(rubyClassName + ".instance_methods(false).any?{|m| m.to_sym == :on_content_changed}")) { JRubyAdapter.runRubyMethod(scriptInfo.getRubyInstance(), "on_content_changed"); } else { if ((Boolean)JRubyAdapter.runScriptlet(rubyClassName + ".instance_methods(true).any?{|m| m.to_sym == :on_content_changed}")) { JRubyAdapter.runRubyMethod(scriptInfo.getRubyInstance(), "on_content_changed"); } else { JRubyAdapter.runRubyMethod(scriptInfo.getRubyInstance(), "onContentChanged"); } } } }