File tree Expand file tree Collapse file tree 4 files changed +11
-16
lines changed
java/com/kedia/cameracustom Expand file tree Collapse file tree 4 files changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ dependencies {
3636 implementation ' androidx.core:core-ktx:1.3.1'
3737 implementation ' androidx.appcompat:appcompat:1.2.0'
3838 implementation ' androidx.constraintlayout:constraintlayout:2.0.1'
39- // implementation project(path: ':customcamera')
39+ implementation project(path : ' :customcamera' )
4040 testImplementation ' junit:junit:4.12'
4141 androidTestImplementation ' androidx.test.ext:junit:1.1.2'
4242 androidTestImplementation ' androidx.test.espresso:espresso-core:3.3.0'
@@ -51,5 +51,5 @@ dependencies {
5151// implementation "androidx.camera:camera-view:1.0.0-alpha16"
5252
5353 // Custom Camera
54- implementation ' com.github.Priyansh-Kedia:CustomCamera:1.1'
54+ // implementation 'com.github.Priyansh-Kedia:CustomCamera:1.1'
5555}
Original file line number Diff line number Diff line change 99 android : roundIcon =" @mipmap/ic_launcher_round"
1010 android : supportsRtl =" true"
1111 android : theme =" @style/AppTheme" >
12- <activity android : name =" .MainActivity " >
12+ <activity android : name =" .Main2Activity " >
1313 <intent-filter >
1414 <action android : name =" android.intent.action.MAIN" />
15-
1615 <category android : name =" android.intent.category.LAUNCHER" />
1716 </intent-filter >
1817 </activity >
Original file line number Diff line number Diff line change 11package com.kedia.cameracustom
22
33import android.graphics.Bitmap
4- import android.os.Bundle
54import androidx.appcompat.app.AppCompatActivity
5+ import android.os.Bundle
66import com.kedia.customcamera.CCMultiple
7- import kotlinx.android.synthetic.main.activity_main.*
87
9- class MainActivity : AppCompatActivity (), CCMultiple.CustomCamera {
8+ class Main2Activity : AppCompatActivity (), CCMultiple.CustomMultiple {
109 override fun onCreate (savedInstanceState : Bundle ? ) {
1110 super .onCreate(savedInstanceState)
12- setContentView(R .layout.activity_main)
13- cc.setListener(this )
11+ setContentView(R .layout.activity_main2)
1412 }
1513
16- override fun onConfirmImages (imageArrayList : MutableList <Bitmap ?>) {
14+ override fun onConfirmImagesClicked (imageArrayList : MutableList <Bitmap ?>) {
1715 TODO (" Not yet implemented" )
1816 }
1917
2018 override fun onGalleryClicked () {
2119 TODO (" Not yet implemented" )
2220 }
23- }
21+ }
Original file line number Diff line number Diff line change 44 xmlns : tools =" http://schemas.android.com/tools"
55 android : layout_width =" match_parent"
66 android : layout_height =" match_parent"
7- tools : context =" .MainActivity" >
7+ tools : context =" .Main2Activity" >
8+
89
910 <com .kedia.customcamera.CCMultiple
1011 android : layout_width =" match_parent"
1112 android : layout_height =" match_parent"
12- app : showSnapButton =" true"
13- app : showNoPermissionToast =" true"
14- android : id =" @+id/cc"
15- app : snapButtonColor =" @color/colorAccent" />
13+ android : id =" @+id/cc" />
1614
1715</androidx .constraintlayout.widget.ConstraintLayout>
You can’t perform that action at this time.
0 commit comments