Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
scanqrwhitecopy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
scanqrwhitecopy
Commits
965af066
Commit
965af066
authored
Jan 23, 2025
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
..
parent
e1bb2fc2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
688 deletions
+8
-688
mapping.json
app/mapping.json
+0
-686
ScanAc.kt
app/src/main/java/com/base/scanqrclear/ui/main/ScanAc.kt
+5
-1
StartActivity.kt
.../main/java/com/base/scanqrclear/ui/start/StartActivity.kt
+3
-1
No files found.
app/mapping.json
deleted
100644 → 0
View file @
e1bb2fc2
This diff is collapsed.
Click to expand it.
app/src/main/java/com/base/scanqrclear/ui/main/ScanAc.kt
View file @
965af066
...
...
@@ -12,16 +12,20 @@ import com.base.scanqrclear.qr.CameraUtils
*Create by SleepDog on 2025-01-20
*/
class
ScanAc
:
BaseActivity
<
ActivityScanBinding
>(
ActivityScanBinding
::
inflate
)
{
var
cameraUtils
:
CameraUtils
?
=
null
private
var
isPopupIn
=
false
//通知进来的
var
cameraUtils
:
CameraUtils
?
=
null
override
fun
initView
()
{
super
.
initView
()
cameraUtils
=
CameraUtils
(
this
)
isPopupIn
=
intent
.
extras
?.
getBoolean
(
"isPopupIn"
,
false
)
?:
false
}
override
fun
onResumeOneShoot
()
{
super
.
onResumeOneShoot
()
if
(
AdConfigBean
.
adsConfigBean
.
functionInShowAd
)
{
if
(
isPopupIn
)
return
AdsMgr
.
showInsert
(
this
,
false
,
object
:
AdsShowCallBack
()
{
override
fun
close
(
where
:
Int
)
{
}
...
...
app/src/main/java/com/base/scanqrclear/ui/start/StartActivity.kt
View file @
965af066
...
...
@@ -163,7 +163,9 @@ class StartActivity : BaseActivity<ActivityStartBinding>(ActivityStartBinding::i
// addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT)
// })
startActivity
(
Intent
(
this
,
ScanAc
::
class
.
java
))
startActivity
(
Intent
(
this
,
ScanAc
::
class
.
java
).
apply
{
putExtra
(
"isPopupIn"
,
true
)
})
}
ACTION_ID_WIFI
->
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment