Coder Social home page Coder Social logo

Comments (14)

davideas avatar davideas commented on September 21, 2024

Added structure description about how this library is designed. Direct link: Library structure.
Added a side navigable menu.

from flexibleadapter.

davideas avatar davideas commented on September 21, 2024

Added a new Wiki page about how to implement sections with sticky headers and expandable sections. Direct link: Headers and Sections.

from flexibleadapter.

davideas avatar davideas commented on September 21, 2024

Added new Wiki page about Setting Up and how to initialize the adapter.

from flexibleadapter.

choxnox avatar choxnox commented on September 21, 2024

Documentation definitely needs improvement because I've just wasted the whole day trying to figure out why my initial list with headers isn't working and throwing ClassCastException only to find out it's because I was using the same layout resource for both items and headers (for e.g. android.R.layout.simple_list_item_1).

Not only that but it appears getLayoutRes function is internally called within adapter which means it's also mandatory to implement it and nothing of this is mentioned in the documentation.

from flexibleadapter.

davideas avatar davideas commented on September 21, 2024

@choxnox, I'm sorry if you got lost in the implementation, the page Setting Up, actually shows the 2 ways to implement the binding (normal way or with item interfaces). Also, you could read the comments of every single methods (to override) of the Adapter and of the item interfaces.

All the rest of the pages will come, as soon as I resolve some (life) issues...

from flexibleadapter.

davideas avatar davideas commented on September 21, 2024

Added new Wiki page about Drag&Drop and Swipe.

from flexibleadapter.

davideas avatar davideas commented on September 21, 2024

Wiki pages tutorial has been completely reviewed
In the coming weeks, more pages will be completed as well.

from flexibleadapter.

davideas avatar davideas commented on September 21, 2024

Added Demo App Wiki page.

from flexibleadapter.

davideas avatar davideas commented on September 21, 2024

Reviewed Setting Up and added Setting Up Advanced Wiki pages.

from flexibleadapter.

davideas avatar davideas commented on September 21, 2024

Added Scrollable Headers and Footers.

from flexibleadapter.

davideas avatar davideas commented on September 21, 2024

Added Payload & reviewed all existent pages.

from flexibleadapter.

shymmq avatar shymmq commented on September 21, 2024

Load more upon a user request isn't really documented well. Should I call adapter.onLoadMore()? If yes, when? Will the items be added automatically or do I have to add them manually? Also, there is no example on this topic in the demo app, only automatic loading.

from flexibleadapter.

davideas avatar davideas commented on September 21, 2024

@shymmq, that part is indicative (without example yet), but the logic steps are described. I added another point to complete the loading once the items are received.

onLoadMore() is for automatic loading, so you don't have to call it. The items are loaded when user clicks on the button that you add in the layout of the progress bar. The callback of that remote call will invoke onLoadMoreComplete(newItems).

from flexibleadapter.

davideas avatar davideas commented on September 21, 2024

With RC2 release many pages have been reviewed already, all the remaining will be updated soon.

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.