question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] - CropImageView.wholeImageRect has comments in wrong place

See original GitHub issue
  • Lib Version [e.g. 1.1.0] 2.3.0

Describe the bug This:


    val wholeImageRect: Rect?
        get() {
...
        } // get the points of the crop rectangle adjusted to source bitmap
    // get the rectangle for the points (it may be larger than original if rotation is not straight)

To Reproduce

  1. Go to the source code of it, and look for yourself.

Expected behavior Shouldn’t have comments after the “}”

Screenshots Here: image

Smartphone (please complete the following information): None.

Additional context Nothing.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
AndroidDeveloperLBcommented, Mar 30, 2021

@Canato The Kotlin converter has some issues. I suggest that when you use it, make sure all Java functions have nullability annotations. I think the main cause for issues on it is from this aspect. The rest is relatively easy to fix and notice.

0reactions
AndroidDeveloperLBcommented, Apr 21, 2021

?

Read more comments on GitHub >

github_iconTop Results From Across the Web

The android-image-cropper from CanHub - GithubHelp
[BUG] - CropImageView.wholeImageRect has comments in wrong place. Lib Version [e.g. 1.1.0] 2.3.0. Describe the bug. This: val wholeImageRect: Rect? get() { ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found