davideas / FlexibleAdapter

Fast and versatile Adapter for RecyclerView which regroups several features into one library to considerably improve the user experience :-)
Apache License 2.0
3.55k stars 548 forks source link

Build qus/problems from a novice #678

Closed jastewart closed 5 years ago

jastewart commented 5 years ago

I am desperate to use something like FlexibleAdapter (FA) and it seems attractive cf. others. First, my target device is Android 8.1. Am I right to assume that the AndroidX build of FA is therefore n/a? I have downloaded 5.0.6 and this builds and runs on an 8.1 emulator. But, I can not work out what to include in my own project to make use of FA. I copied the given dependencies (trying both 5.0.6 and 5.1.0) but still get a number of build errors such as:

resource android:attr/ttcIndex not found

I get these errors after adding only the given dependencies to an otherwise fully working project. I guess there must be some conflict, or something... Reverting to v5.1.0, when I build the downloaded files, I get this:

Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:8:2-45:16 to override.

  1. How can I get v5.1.0 (as downloaded) to build?
  2. When built, what do I need in some new project to use the adapter? - the given list of dependencies and jcenter does not seem to provide all that is needed.

Hoping to make progress....

TIA

davideas commented 5 years ago

@jastewart, clean project?

For the rest (functionalities) there's a nice Wiki documentation made by me. Check also releases and home page.

mpt212 commented 5 years ago

@jastewart i have this problem too, can you resolve that?

jastewart commented 5 years ago

Sorry, I have only just discovered this in a spam folder. I'm afraid that I jacked the whole thing in and went with Xamarin, with which I did more in an afternoon, from scratch, that I had done in two weeks with AS etc.

jas

On 17/12/2018 00:06, mpt212 wrote:

@jastewart https://github.com/jastewart i have this problem too, can you resolve that?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davideas/FlexibleAdapter/issues/678#issuecomment-447654817, or mute the thread https://github.com/notifications/unsubscribe-auth/AE8ZlVnkdbDuFTVPUxNMIh-KnHdTA4UXks5u5m-LgaJpZM4XL7LE.