Android, Android App Development, Autocloseable.
displays images from URLs. By implementing AutoCloseable, you can ensure the network connection is properly closed when the view is no longer needed: public class NetworkImageView extends ImageView implements AutoCloseable { private HttpURLConnection networkConnection; @Override public void