-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: 王朋飞 <walgr1010>
- Loading branch information
王朋飞
committed
Nov 14, 2022
1 parent
051e554
commit 70bce1d
Showing
8 changed files
with
61 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
QuickBind/src/main/java/com/wpf/app/quickbind/annotations/BindD2VHelper.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
package com.wpf.app.quickbind.annotations | ||
|
||
import android.view.View | ||
import androidx.recyclerview.widget.RecyclerView | ||
import com.wpf.app.quick.annotations.BindD2VHHelper | ||
|
||
/** | ||
* Created by 王朋飞 on 2022/9/5. | ||
* | ||
*/ | ||
interface BindD2VHelper<V : View, Data : Any> : | ||
BindD2VHHelper<RecyclerView.ViewHolder, V, Data> { | ||
interface BindD2VHelper<View : Any, Data : Any> : | ||
BindD2VHHelper<RecyclerView.ViewHolder, View, Data> { | ||
|
||
override fun initView(viewHolder: RecyclerView.ViewHolder?, view: V, data: Data) { | ||
override fun initView(viewHolder: RecyclerView.ViewHolder?, view: View, data: Data) { | ||
initView(view, data) | ||
} | ||
|
||
fun initView(view: V, data: Data) | ||
fun initView(view: View, data: Data) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters