Comments (1)
Hi, I guess you are using Android Studio 2.0 and /or gradle incremental
builds. The problem is that incremental builds break annotation processing.
This basically affects all Annotation processor libraries out there like
dagger etc.
Please try to disable incremental builds (see how in the link above) and
let me know if that issue has been caused by incremental builds.
Andrei Buneyeu [email protected] schrieb am Mi., 24. Feb. 2016,
21:10:
Hey,
thanks for the library!
do you have any thought why adapter delegate is not being generated
sometimes?java.lang.RuntimeException: Could not find adapter delegate for
com.buneyeu.myapp.fragment.messages.MessagesAdapter@554b2a1
at
com.hannesdorfmann.annotatedadapter.AutoSupportDelegators.getDelegator(AutoSupportDelegators.java:22)
at
com.hannesdorfmann.annotatedadapter.support.recyclerview.SupportAnnotatedAdapter.(SupportAnnotatedAdapter.java:36)
at
com.buneyeu.myapp.adapters.BaseListAnnotatedAdapter.(BaseListAnnotatedAdapter.java:19)
at
com.buneyeu.myapp.fragment.messages.MessagesAdapter.(MessagesAdapter.java:71)
at
com.buneyeu.myapp.fragment.messages.MessagesFragment.onCreate(MessagesFragment.java:65)
at
com.buneyeu.myapp.fragment.messages.MessagesFragment_.onCreate(MessagesFragment_.java:38)
at android.support.v4.app.Fragment.performCreate(Fragment.java:1939)
at
android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1029)
at
android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)
at
android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613)
at
android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:517)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)Clean rebuild helps things, but it's annoying to unexpectedly see the
crash. AutoSupportDelegators contains, let's say, only 2 of 7-8 annotated
adapters.—
Reply to this email directly or view it on GitHub
#22.
from annotatedadapter.
Related Issues (20)
- AbsListView
- Model casting
- Automatically detect ViewHolder fields HOT 10
- Providing a method to do additional setup after a view has been inflated HOT 1
- Don't generate duplicated ViewHolders on Adapter inheritance
- Better refactoring support HOT 1
- Repackage JavaWriter
- Check ViewType integer value
- Possibility to define additional Fields for viewholders HOT 1
- Support library projects
- annotated with @ViewType. HOT 5
- Enhancement: use Data Binding HOT 16
- RecyclerViews positional click HOT 9
- Adapter to take generic types HOT 1
- RecyclerView as ViewField HOT 3
- Clicks on row in RecyclerView HOT 1
- Use annotated interface instead of annotated int HOT 2
- License HOT 1
- about updater the AnnotatedAdapter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from annotatedadapter.