mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 07:13:00 +00:00 
			
		
		
		
	Solve two SonarCloud smells
This commit is contained in:
		| @@ -7,6 +7,8 @@ import org.schabi.newpipe.databinding.FeedGroupAddNewGridItemBinding | ||||
|  | ||||
| class FeedGroupAddNewGridItem : BindableItem<FeedGroupAddNewGridItemBinding>() { | ||||
|     override fun getLayout(): Int = R.layout.feed_group_add_new_grid_item | ||||
|     override fun bind(viewBinding: FeedGroupAddNewGridItemBinding, position: Int) {} | ||||
|     override fun initializeViewBinding(view: View) = FeedGroupAddNewGridItemBinding.bind(view) | ||||
|     override fun bind(viewBinding: FeedGroupAddNewGridItemBinding, position: Int) { | ||||
|         // this is a static item, nothing to do here | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -7,6 +7,8 @@ import org.schabi.newpipe.databinding.FeedGroupAddNewItemBinding | ||||
|  | ||||
| class FeedGroupAddNewItem : BindableItem<FeedGroupAddNewItemBinding>() { | ||||
|     override fun getLayout(): Int = R.layout.feed_group_add_new_item | ||||
|     override fun bind(viewBinding: FeedGroupAddNewItemBinding, position: Int) {} | ||||
|     override fun initializeViewBinding(view: View) = FeedGroupAddNewItemBinding.bind(view) | ||||
|     override fun bind(viewBinding: FeedGroupAddNewItemBinding, position: Int) { | ||||
|         // this is a static item, nothing to do here | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stypox
					Stypox