Showing 6 of 52 total issues
Class PhotoEditActivity
has 26 methods (exceeds 20 allowed). Consider refactoring. Open
Open
/**
* An activity which is launched after a photo has been taken by the camera activity. It lets the user edit the photo by drawing, adding filters, etc.
*/
class PhotoEditActivity : AppCompatActivity() {
private lateinit var binding: ActivityPhotoEditBinding
Consider simplifying this complex logical expression. Open
Open
if (other != null && other::class.java == PointOfInterest::class.java) {
val otherPoi = other as PointOfInterest
return otherPoi.latitude == latitude && otherPoi.longitude == longitude && otherPoi.name == name
&& otherPoi.uid == uid && otherPoi.icon == icon
}
Method onActivityResult
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
activity: Activity,
requestCode: Int,
result: Int,
data: Intent?,
onComplete: () -> Unit
Method onActivityResult
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
activity: Activity,
requestCode: Int,
result: Int,
data: Intent?,
onComplete: () -> Unit
Method onActivityResult
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
activity: Activity,
requestCode: Int,
result: Int,
data: Intent?,
onComplete: () -> Unit
Method onActivityResult
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
activity: Activity,
requestCode: Int,
result: Int,
data: Intent?,
onComplete: () -> Unit