xiongxiaolong
xiongxiaolong
目前的解决方案: adapter = new HealthReportAdapter(data); mUltraViewPager.setAdapter(adapter); int pos = getArguments().getInt(KEY_POS); //内置indicator初始化 mUltraViewPager.initIndicator(); //设置indicator样式 mUltraViewPager.getIndicator() .setOrientation(UltraViewPager.Orientation.HORIZONTAL) .setFocusColor(Utils.getColor(R.color.colorAccent)) .setNormalColor(Utils.getColor(R.color.color_59_57_57)) .setRadius((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 4, getResources().getDisplayMetrics())) .setIndicatorPadding(Utils.dip2px(5)) .setMargin(0, 0, 0, Utils.dip2px(16)); //设置indicator对齐方式 mUltraViewPager.getIndicator().setGravity(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM);...
原生没有引入库的原因,
你原生代码的引用相应的库了,你看下example\PickerTest目录下的示例代码 ,android引用react-native-picker库; ISO 把react-native-picker-master\ios\RCTBEEPickerManager目录下的四个文件复制到你原生的工程目录 [email protected] 发件人: ZM 发送时间: 2017-06-14 09:51 收件人: beefe/react-native-picker 抄送: huyanghu; Comment 主题: Re: [beefe/react-native-picker] react-native-picker 找不到_init方法 (#128) 求解,我也遇到相同的问题了,执行了react-native link的 — You are receiving this because you...