Show images from URL

Open
#812 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, java
Domain
mobile-dev

Research direction

The issue names Android's ImageView.setImageResource as the current entry point but provides no files or tests. Start by reviewing PhotoView's existing ImageView API and how image resources are handled, then clarify the intended URL-loading behavior and API. Done should mean a defined way to fetch and display an image from a String URL, with matching tests or documentation.

Written by the indexing model from the issue text.

Description

🚀 Feature Requests

Fetch Image from an URL present in the form of String

Contextualize the feature

Images are stored as URLs in Cloud Databases. Need of a method to fetch image from that URL and then display.

Describe the feature

Currently to set an Image, the following method is invoked:

imageView.setImageResource(R.drawable.image_id)

The method only accepts a parameter of type resource id. But if a string is provided instead, it would give compilation errors. Please add a feature to fetch image from cloud database, given in form of URL. A URL is of type String.

Dominant language
Java
Stars
18.8k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Baseflow/PhotoView

All issues in Baseflow/PhotoView

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.