ArthurHub / ArthurHub/Android-Image-Cropper

Is there a straightforward way to enable/disable CropImageView?

Open
#826 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

The view does not seem to care about the inherited method of `setEnabled(boolean)`.

If I want to disable user input and put the view into a stasis-like state (e.i. similar to how it behaves when cropping a large image asynchronously - overlay disappeared with image no longer accepting touch events), how would I go about doing so?

Currently, I am working around this by having another view on-top of `CropImageView` that gets toggled between different levels of visibility in order to intercept any unwanted user inputs. Although this is far from ideal.

Thanks for any feedback!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting CropImageView and its inherited setEnabled(boolean) behavior, then compare it with the stasis-like state described during asynchronous cropping. Done means disabling the view prevents user input without an overlay and re-enabling it restores normal interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.