-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wumeng1
authored and
wumeng1
committed
Jul 21, 2021
1 parent
dee0803
commit d495afb
Showing
55 changed files
with
323 additions
and
668 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.mirkowu.mvm.mvc; | ||
|
||
import androidx.annotation.NonNull; | ||
|
||
import com.mirkowu.lib_widget.adapter.BaseRVHolder; | ||
import com.mirkowu.lib_widget.adapter.SimpleRVAdapter; | ||
import com.mirkowu.mvm.R; | ||
|
||
public class TestAdapter extends SimpleRVAdapter<String> { | ||
public TestAdapter() { | ||
super(R.layout.item_binding_list); | ||
} | ||
|
||
@Override | ||
public void onBindHolder(@NonNull BaseRVHolder holder, String item, int position) { | ||
holder.setText(R.id.tv_title, "标题" + position) | ||
.setText(R.id.tv_content, "内容" + position); | ||
|
||
addOnClickListener(holder, R.id.tv_title, R.id.tv_content); | ||
addOnLongClickListener(holder, R.id.tv_title, R.id.tv_content); | ||
} | ||
} |
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
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
26 changes: 0 additions & 26 deletions
26
lib_base/src/androidTest/java/com/mirkowu/lib_base/ExampleInstrumentedTest.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
lib_base/src/test/java/com/mirkowu/lib_base/ExampleUnitTest.java
This file was deleted.
Oops, something went wrong.
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
24 changes: 0 additions & 24 deletions
24
lib_bugly/src/androidTest/java/com/mirkowu/lib_bugly/ExampleInstrumentedTest.kt
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
lib_bugly/src/test/java/com/mirkowu/lib_bugly/ExampleUnitTest.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.