Git Product home page Git Product logo

android-unsplash's Introduction

android-unsplash's People

Contributors

amilcar-andrade avatar aspsine avatar codingjeremy avatar keyboardsurfer avatar nickbutcher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-unsplash's Issues

SharedElement and custom EnterTransition causes memory leak

I'm from China. My English is not very good. I'm very sorry.

The following is from the report :
In com.example.android.unsplash:1.0:1.

  • com.example.android.unsplash.DetailActivity has leaked:
  • GC ROOT android.os.ResultReceiver$MyResultReceiver.this$0
  • references android.app.ExitTransitionCoordinator.mResultReceiver
  • references android.app.EnterTransitionCoordinator.mEnterViewsTransition
  • references android.transition.TransitionSet.mParent
  • references android.transition.TransitionSet.mListeners
  • references java.util.ArrayList.array
  • references array java.lang.Object[].[1]
  • references android.transition.TransitionManager$MultiListener$1.val$runningTransitions (anonymous subclass of android.transition.Transition$TransitionListenerAdapter)
  • references android.util.ArrayMap.mArray
  • references array java.lang.Object[].[2]
  • references com.android.internal.policy.PhoneWindow$DecorView.mContext
  • leaks com.example.android.unsplash.DetailActivity instance

Use Leaks records,Keep going in and out of DetailActivity

Sometime getting NullPointerException clicking navigation back icon in DetailActivity

    FATAL EXCEPTION: main
    java.lang.NullPointerException
    at com.example.android.unsplash.DetailActivity$1.onSharedElementEnd(DetailActivity.java:69)
    at android.app.ExitTransitionCoordinator.startSharedElementExit(ExitTransitionCoordinator.java:185)
    at android.app.ExitTransitionCoordinator.access$000(ExitTransitionCoordinator.java:43)
    at android.app.ExitTransitionCoordinator$1.run(ExitTransitionCoordinator.java:152)
    at android.app.ActivityTransitionCoordinator.startTransition(ActivityTransitionCoordinator.java:698)
    at android.app.ExitTransitionCoordinator.sharedElementExitBack(ExitTransitionCoordinator.java:150)
    at android.app.ExitTransitionCoordinator.onReceiveResult(ExitTransitionCoordinator.java:111)
    at android.os.ResultReceiver$MyRunnable.run(ResultReceiver.java:50)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5221)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

Module 'android-unsplash' is not backed by gradle

When I import the project to Android Studio from Version Control, it throws the following error:

Module 'android-unsplash' is not backed by gradle

My efforts to fix the issue have not worked. Good help will be appreciated.

NullPointerException when click image

FATAL EXCEPTION: main
Process: com.example.android.unsplash, PID: 9273
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.view.View.getTransitionName()' on a null object reference
at com.example.android.unsplash.ui.grid.PhotoAdapter$1.onClick(PhotoAdapter.java:87)
at android.view.View.performClick(View.java:4909)
at android.view.View$PerformClick.run(View.java:20390)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5757)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1004)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:799)

My phone doesn't has navigationBar. I also tested in Emulator which has a 'navigationBar' and it works fine.

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.