本文整理了Java中android.app.Activity.onCreatePanelView()
方法的一些代码示例,展示了Activity.onCreatePanelView()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Activity.onCreatePanelView()
方法的具体详情如下:
包路径:android.app.Activity
类名称:Activity
方法名:onCreatePanelView
暂无
代码示例来源:origin: com.uphyca/android-junit4-robolectric
/**
* @param featureId
* @return
* @see android.app.Activity#onCreatePanelView(int)
*/
public View onCreatePanelView(int featureId) {
return mActivity.onCreatePanelView(featureId);
}
代码示例来源:origin: iqiyi/Neptune
@Override
public android.view.View onCreatePanelView(int int0) {
return mOriginActivity.onCreatePanelView(int0);
}
代码示例来源:origin: shazam/android-aspects
@Nullable
@Override
public View onCreatePanelView(int featureId) {
View view = super.onCreatePanelView(featureId);
return view != null ? view : dispatcher.dispatchOnCreatePanelView(this, featureId);
}
代码示例来源:origin: iqiyi/Neptune
@Override
public View onCreatePanelView(int featureId) {
if (getController() != null && getController().getPlugin() != null) {
return getController().getPlugin().onCreatePanelView(featureId);
} else {
return super.onCreatePanelView(featureId);
}
}
代码示例来源:origin: ELynx/pokemon-go-xposed-mitm
public android.view.View onCreatePanelView(int featureId) {
if (ScriptLoader.isCalledFromJRuby()) return super.onCreatePanelView(featureId);
if (!JRubyAdapter.isInitialized()) {
Log.i("Method called before JRuby runtime was initialized: RubotoActivity#onCreatePanelView");
return super.onCreatePanelView(featureId);
}
String rubyClassName = scriptInfo.getRubyClassName();
if (rubyClassName == null) return super.onCreatePanelView(featureId);
if ((Boolean)JRubyAdapter.runScriptlet(rubyClassName + ".instance_methods(false).any?{|m| m.to_sym == :onCreatePanelView}")) {
return (android.view.View) JRubyAdapter.runRubyMethod(android.view.View.class, scriptInfo.getRubyInstance(), "onCreatePanelView", featureId);
} else {
if ((Boolean)JRubyAdapter.runScriptlet(rubyClassName + ".instance_methods(false).any?{|m| m.to_sym == :on_create_panel_view}")) {
return (android.view.View) JRubyAdapter.runRubyMethod(android.view.View.class, scriptInfo.getRubyInstance(), "on_create_panel_view", featureId);
} else {
if ((Boolean)JRubyAdapter.runScriptlet(rubyClassName + ".instance_methods(true).any?{|m| m.to_sym == :on_create_panel_view}")) {
return (android.view.View) JRubyAdapter.runRubyMethod(android.view.View.class, scriptInfo.getRubyInstance(), "on_create_panel_view", featureId);
} else {
return (android.view.View) JRubyAdapter.runRubyMethod(android.view.View.class, scriptInfo.getRubyInstance(), "onCreatePanelView", featureId);
}
}
}
}
内容来源于网络,如有侵权,请联系作者删除!