GithubHelp home page GithubHelp logo

laripping / watchlist-widget Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 7.12 MB

A simple android app that beatifully displays your IMDb watchlist on a handy home screen widget!

Java 100.00%
android imdb movies watchlist

watchlist-widget's People

Contributors

laripping avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

vaginessa

watchlist-widget's Issues

Poster Not Found Exceptions leak OMDB API key

2022-07-07 19:39:32.842 4614-4663/com.laripping.watchlistwidget W/System.err: java.util.concurrent.ExecutionException: com.bumptech.glide.load.engine.GlideException: Failed to load resource
2022-07-07 19:39:32.842 4614-4663/com.laripping.watchlistwidget W/System.err: There was 1 cause:
2022-07-07 19:39:32.842 4614-4663/com.laripping.watchlistwidget W/System.err: java.io.FileNotFoundException(https://img.omdbapi.com/?apikey=<redacted>&i=tt13283466)
2022-07-07 19:39:32.842 4614-4663/com.laripping.watchlistwidget W/System.err:  call GlideException#logRootCauses(String) for more detail
2022-07-07 19:39:32.842 4614-4663/com.laripping.watchlistwidget W/System.err:     at com.bumptech.glide.request.RequestFutureTarget.doGet(RequestFutureTarget.java:217)
2022-07-07 19:39:32.842 4614-4663/com.laripping.watchlistwidget W/System.err:     at com.bumptech.glide.request.RequestFutureTarget.get(RequestFutureTarget.java:130)
2022-07-07 19:39:32.843 4614-4663/com.laripping.watchlistwidget W/System.err:     at com.laripping.watchlistwidget.WidgetService$WatchlistRemoteViewsFactory.loadPoster(WidgetService.java:206)
2022-07-07 19:39:32.843 4614-4663/com.laripping.watchlistwidget W/System.err:     at com.laripping.watchlistwidget.WidgetService$WatchlistRemoteViewsFactory.getViewAt(WidgetService.java:157)
2022-07-07 19:39:32.843 4614-4663/com.laripping.watchlistwidget W/System.err:     at android.widget.RemoteViewsService$RemoteViewsFactoryAdapter.getViewAt(RemoteViewsService.java:164)
2022-07-07 19:39:32.843 4614-4663/com.laripping.watchlistwidget W/System.err:     at com.android.internal.widget.IRemoteViewsFactory$Stub.onTransact(IRemoteViewsFactory.java:186)
2022-07-07 19:39:32.843 4614-4663/com.laripping.watchlistwidget W/System.err:     at android.os.Binder.execTransactInternal(Binder.java:1154)
2022-07-07 19:39:32.843 4614-4663/com.laripping.watchlistwidget W/System.err:     at android.os.Binder.execTransact(Binder.java:1123)
2022-07-07 19:39:32.843 4614-4663/com.laripping.watchlistwidget W/System.err: Caused by: com.bumptech.glide.load.engine.GlideException: Failed to load resource
2022-07-07 19:39:32.843 4614-4663/com.laripping.watchlistwidget W/System.err: There was 1 cause:
2022-07-07 19:39:32.843 4614-4663/com.laripping.watchlistwidget W/System.err: java.io.FileNotFoundException(https://img.omdbapi.com/?apikey=<redacted>&i=tt13283466)
2022-07-07 19:39:32.843 4614-4663/com.laripping.watchlistwidget W/System.err:  call GlideException#logRootCauses(String) for more detail

Mixed remote views

Steps to reproduce

  1. Place both a grid and a list widget
  2. Refresh manually through MainActivity

Expected result

Widgets retain their intended layouts

Observed result

From the 2, the widget last placed will change it's layout to the one first placed

Update grid columns on resize

Ideas:

  • Programmatically change the layout's GridView.num_columns upon resize
  • Switch to a different layout file upon resize, with only difference the GridView.num_columns value

Sizing:

  • Posters have a 2/3 ish ratio (x/1.5x). Frame them in 2.2/3 (x/1.36x) w padding for leeway.
  • In portrait mode, n cells of width = (73n - 16)dp and m cells of height = (118m - 16)dp

See ref Android 12+ too high

Sort by Last Added

Most recent first. Not modifiable in settings though. No more filters/sort options, for these one just opens the imdb app

Make GH Page

  • With simpler installation instructions
  • then the readme can stay technical (/get even more technical)
  • link this page under the Projects section in laripping.github.io

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.