带有RecyclerView的NestedScrollView中无法正确显示过度滚动效果

问题描述

我有nestedScrollView,其中包含一些视图和RecyclerView。但是,当我滚动RecyclerView时,过度滚动效果显示在其中。如何在nestedScrollView中显示它?

我可以使用const assetFieldSchema = new Schema( { name: {type: String,required: true},type: {type: String,required: true,default: DEFAULT_TYPE_VALUE},options: {type: Array},validation: {type: Array},value: {type: String},disabled: {type: Boolean},label: {type: String},placeholder: {type: String} },{ timestamps: true } ); assetFieldSchema.pre('save',function(this,next) { const AssetModel = mongoose.model('createAssetSchema'); if(this.unique) { // unique is the field on basis of which need to decide whether field should contain unique value or not // create index here on `AssetModel` // unable to achieve } }) 在RecyclerView中禁用过度滚动效果,但是我不知道如何在滚动RecyclerView时在nestedScrollView中启用过度滚动效果。我已经尝试了所有显而易见的解决方案。

android:overScrollMode="never"

gif

PS:我需要将一些视图放置在RecyclerView之外,因为否则RecyclerView适配器会变得不必要地复杂(必须描述所有类型的元素)。请不要说这对性能不利。就我而言,这是无关紧要的。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)