Giter VIP home page Giter VIP logo

popularmovies's People

Contributors

darsh2 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

popularmovies's Issues

Reviews are not displayed

Steps to reproduce this issue:

  1. Open reviews fragment for any movie say X.
  2. Open many other movie fragments, similar movies, genre movies, change configuration, and so on.
  3. Navigate back.
  4. On reaching X, the reviews that were saved in onSaveInstanceState() return null.

Hence, reviews are not displayed.

Add test cases

Add test cases for checking functionality of various modules as well as UI tests.

App crashes in onSaveInstanceState in FavoriteMoviesFragment

In FavoriteMoviesFragmant, on rotating the device once, followed by rotating it again, the app crashes with the following log:

java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.v7.widget.RecyclerView$LayoutManager com.example.darsh.view.EndlessScrollRecyclerView.getLayoutManager()' on a null object reference
                                                                                     at com.example.darsh.fragment.MoviesListFragment.onSaveInstanceState(MoviesListFragment.java:224)
                                                                                     at android.support.v4.app.Fragment.performSaveInstanceState(Fragment.java:2124)
                                                                                     at android.support.v4.app.FragmentManagerImpl.saveFragmentBasicState(FragmentManager.java:1771)
                                                                                     at android.support.v4.app.FragmentManagerImpl.saveAllState(FragmentManager.java:1839)
                                                                                     at android.support.v4.app.FragmentController.saveAllState(FragmentController.java:134)
                                                                                     at android.support.v4.app.FragmentActivity.onSaveInstanceState(FragmentActivity.java:566)
                                                                                     at android.support.v7.app.AppCompatActivity.onSaveInstanceState(AppCompatActivity.java:492)
                                                                                     at android.app.Activity.performSaveInstanceState(Activity.java:1302)
                                                                                     at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1290)
                                                                                     at android.app.ActivityThread.callCallActivityOnSaveInstanceState(ActivityThread.java:4122)
                                                                                     at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4084)
                                                                                     at android.app.ActivityThread.-wrap15(ActivityThread.java)
                                                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1369)
                                                                                     at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                     at android.os.Looper.loop(Looper.java:148)
                                                                                     at android.app.ActivityThread.main(ActivityThread.java:5461)
                                                                                     at java.lang.reflect.Method.invoke(Native Method)
                                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Overview text is not shown

When clicking on a movie from the FavoritesFragment, the overview text is not shown in the MovieDetailsFragment.

ProgressBar not displayed in FooterView

On scrolling to end of current list, more items are to be loaded. While the items are being fetched from tmdb, a footer with a progress bar is to be shown. Some code changes have led to this not being shown.

Reviews RecyclerView is clipped

Steps to reproduce:
In tablet,

  1. Select movie A (preferably one with many reviews such that scrolling is required), open the reviews view
  2. Select another movie B (preferably one with many reviews such that scrolling is required), open the reviews view
  3. Change orientation, movie B reviews are shown completely
  4. Go back to A's review screen. The reviews are clipped here. On orientation change, the reviews are completely visible.

Overview text is clipped

Movie overview text is not shown completely in MovieDetailFragment, despite layout enclosed in a NestedScrollView.

Pages don't load

On repeated and fast switching between portrait and landscape modes, new movie pages don't load after a certain number of pages have been loaded.
This looks like a bug in EndlessScrollerRecyclerView.

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.