Code Monkey home page Code Monkey logo

Comments (3)

eneim avatar eneim commented on May 20, 2024

@trileduy The implementation might varies due to the use case. In FacebookTimelineActivity, after clicking to a Video item, it open the "Related Videos list" which is a DialogFragment. I setup the callback pattern so that after the DialogFragment is attached, I will unregister the RecyclerView in "FacebookTimelineActivity", and re-register the RecyclerView after the DialogFragment dismiss.

See this, this, this and this.

from toro.

trile-agilityio avatar trile-agilityio commented on May 20, 2024

@eneim Thanks for your answer, i got it.

  • But in my use case. I want pause/resume play video when click to a Video item. I can pause video but can' resume it. Please help me what is the solution!
  • Case : open the "Related Videos list". I want to do it when click to a other item.

from toro.

eneim avatar eneim commented on May 20, 2024

@trileduy Hi there, you can see how I handle the "long click" here with your expected behaviour.

Regarding your second point, I didn't get what you wanted to mention here. If your requirement is the same with my FacebookTimelineSample here, you can use its idea, other than that, please tell me more so I can help.

from toro.

Related Issues (20)

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.