Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
王雷
/
detection
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 81d77638
authored
Apr 29, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format
1 parent
02018e6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
app/src/main/java/com/agenew/detection/MainActivity.java
app/src/main/java/com/agenew/detection/customview/OverlayView.java
app/src/main/java/com/agenew/detection/MainActivity.java
View file @
81d7763
...
...
@@ -37,7 +37,6 @@ import java.util.LinkedList;
import
java.util.List
;
import
com.agenew.detection.customview.OverlayView
;
import
com.agenew.detection.customview.OverlayView.DrawCallback
;
import
com.agenew.detection.env.BorderedText
;
import
com.agenew.detection.env.ImageUtils
;
import
com.agenew.detection.env.Logger
;
...
...
app/src/main/java/com/agenew/detection/customview/OverlayView.java
View file @
81d7763
...
...
@@ -24,7 +24,7 @@ import java.util.List;
/** A simple View providing a render callback to other classes. */
public
class
OverlayView
extends
View
{
private
final
List
<
DrawCallback
>
callbacks
=
new
LinkedList
<
DrawCallback
>();
private
final
List
<
DrawCallback
>
callbacks
=
new
LinkedList
<>();
public
OverlayView
(
final
Context
context
,
final
AttributeSet
attrs
)
{
super
(
context
,
attrs
);
...
...
@@ -43,6 +43,6 @@ public class OverlayView extends View {
/** Interface defining the callback for client classes. */
public
interface
DrawCallback
{
public
void
drawCallback
(
final
Canvas
canvas
);
void
drawCallback
(
final
Canvas
canvas
);
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment