Coder Social home page Coder Social logo

Comments (6)

danielpassos avatar danielpassos commented on June 20, 2024

@taiko000 Not sure if I got your point. How the Fragment instead of Activity could make the example easier to adapt . The library has no dependency on Activity. I mean you can use whatever class just need to implement the same methods/interface that Activity are implementing.

from flexibleadapter.

Rainer-Lang avatar Rainer-Lang commented on June 20, 2024

Maybe some more docu (about internals) could be more helpful.

from flexibleadapter.

davideas avatar davideas commented on June 20, 2024

@taiko000, if the purpose is to have a RecyclerView and its adapter in a Fragment, then danielpassos answered correctly: in the Fragment you just import the adapter and implement the interface you need on your Fragment, not more not less the example Activity does.

@Rainer-Lang, do you mean to describe the Adapter functions in the Wiki, similar to Javadoc?

from flexibleadapter.

Rainer-Lang avatar Rainer-Lang commented on June 20, 2024

@davideas Not exactly. More schematic, how all work together and can be used.

from flexibleadapter.

davideas avatar davideas commented on June 20, 2024

@Rainer-Lang, I'm not sure to have well understood, can you be more specific? thanks.

from flexibleadapter.

nebomuk avatar nebomuk commented on June 20, 2024

The sample application is pretty usable as a base for some simple projects since everything around the FlexibleAdapter is already implemented. That's why it would be even more usable if it used a Fragment.

from flexibleadapter.

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.