-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find a maintained replacement for CircularImageView #3258
Comments
Rajat and I discussed about using ShapeableImageView from material design library. |
SGTM if that works. |
Hi, Please check out https://github.com/hdodenhof/CircleImageView. It has 13.9k stars on GitHub. |
@AkinchanKushwaha Currently, we are using this library only, but we are looking forward to move to |
Can I work on this issue? |
Hi @aadityaguptaa I had assigned you this issue. |
@anandwana001 thank you, I am working on this, will give you updates in a couple of days |
@aadityaguptaa Unassigning you from this issue because of inactivity, please re-assign yourself if you are currently working on this. |
Hey @rt4914 I would like to work upon this issue.Can you please assign it to me? |
@bhaktideshmukh done |
…ew (#4155) * Fix part of #3258 : Replacing CircularImageView with ShapeableImageView * Updated bazel version * Updated maven_install.json * Added missing appearance overlay property in some files * Added missing appearance overlay property in some files * Added comment to style.xml and removed blank line * Syncing with latest develop branch * added elevation * decreased elevation * decreased elevation and replaced CircularImageView with ShapeableImageView in nav_header_navigation_drawer.xml * added comment for style * empty_commit * empty_commit * maven_install * Update maven_install.json to latest version * added corner_family * added comment for shapeableimageview * changed style name
Can I work on this issue ? |
Hi @BenHenning @adhiamboperes, I was wondering if there are any remaining tasks related to this issue (as it is still open) that I could assist with. The PR #4155 replaced CircularImageView with ShapeableImageView, and the review suggests renaming the title to tackle a segment of #3258, considering potential future tasks associated with I am reaching out to seek clarification on whether there are additional tasks or if removing the CircularImageView dependency is the only remaining aspect to address for this issue. Thanks |
@Rd4dev, could you please search the codebase for usages of CircularImageview, and make note of those? If none is found, please test removing the dependency by removing from gradle and building the app(although complete removal means removing from bazel as well). |
@adhiamboperes , Sure! While a majority of occurrences were updated, a few lingering attributes tied to CircularImageView were identified and addressed in the PR #5350. I'll handle the dependency removal from Bazel in the subsequent commits. |
<!-- READ ME FIRST: Please fill in the explanation section below and check off every point from the Essential Checklist! --> ## Explanation <!-- - Explain what your PR does. If this PR fixes an existing bug, please include - "Fixes #bugnum:" in the explanation so that GitHub can auto-close the issue - when this PR is merged. --> Fixes #3258 The Pull Request [#4155](#4155) substituted `CircularImageView` with `ShapeableImageView`, yet the dependency persists in the project. This PR addresses the final steps of removing the remaining dependency. **`add_shadow`** and **`shadow_radius`** were exclusive to `CircularImageView`. Upon removing the dependencies, these attributes became irrelevant, so they were omitted from the layouts. Their removal had no impact on the functioning views as they were unrelated to the actual attributes of the working views. [Attached reference images below] ## Essential Checklist <!-- Please tick the relevant boxes by putting an "x" in them. --> - [x] The PR title and explanation each start with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".) - [x] Any changes to [scripts/assets](https://github.com/oppia/oppia-android/tree/develop/scripts/assets) files have their rationale included in the PR explanation. - [x] The PR follows the [style guide](https://github.com/oppia/oppia-android/wiki/Coding-style-guide). - [x] The PR does not contain any unnecessary code changes from Android Studio ([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#undo-unnecessary-changes)). - [x] The PR is made from a branch that's **not** called "develop" and is up-to-date with "develop". - [x] The PR is **assigned** to the appropriate reviewers ([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#clarification-regarding-assignees-and-reviewers-section)). ## For UI-specific PRs only ![Having add_shadow](https://github.com/oppia/oppia-android/assets/122200035/6b5be06f-3ee2-4beb-abc7-e170e8794f67) ### Todo Remove Dependency from Bazel and External libraries.! --------- Co-authored-by: Ben Henning <[email protected]>
The codebase currently depends on 2 different CircularImageView dependencies. One of them, https://github.com/sparrow007/CircularImageview, is no longer maintained and should be replaced with a dependency that's kept up-to-date. This will allow us to remove our custom fork of the library (which was needed per #2923 to remove the codebase's dependency on jcenter).
The text was updated successfully, but these errors were encountered: