windows7lake
windows7lake
## Bug report After I upgrade firebase_messaging to a new version, a lot of crash was reported. ``` Fatal Exception: android.os.BadParcelableException: Parcelable protocol requires subclassing from Parcelable on class com.google.firebase.messaging.T...
## Use case In my case, I need to specify sensor delay level. ``` sensorManager.registerListener(sensorEventListener, sensor, sensorManager.SENSOR_DELAY_NORMAL); ``` ## Proposal sensorManager.SENSOR_DELAY_GAME is also needed.
在使用AutoDisposePagedListAdapter对RecyclerView.ViewHolder进行管理时,发现一个问题: **在CustomeAdapter的CustomeViewHolder中使用如下代码设置item的点击事件时,此时如果更新pageList中的数据(是更新不是插入或者删除),RecyclerView会走onBindViewHolder(),之后会导致item的点击事件失效。** ```kotlin view.clicks() .map { position } .autoDisposable(this) .subscribe(subject) ``` 进一步分析之后,大致原因在于更新数据时,RecyclerView会先onBindViewHolder(),再调用onViewRecycled()对item资源进行回收。OnUnbindsPosition使被更新的Item点击事件失效了。虽然大致知道了问题,如果只是更新一项的话,我通过记录position可以解决问题,但是当更新的项有多个时就无从下手了。 AutoDisposePagedListAdapter中的代码: ```kotlin @CallSuper override fun onBindViewHolder(holder: VH, position: Int) { when (holder) { is AutoDisposeViewHolder -> { holder.resetBindEvents(this)...
**Describe your feature request** Need to control 'table' tag's min width. **Additional context** layout_element.dart ``` cells.add(GridPlacement( child: Container( width: double.infinity, // need to edit padding: child.style.padding ?? row.style.padding, decoration: BoxDecoration(...
复权前后的数据还是没有变化,有什么办法处理吗?