android-annotations Questions
0
This is a follow-up-question to Is there an annotation that denotes a max Android API version?
Is there an Android annotation that produces a compiler error if neither @RequiresApi(xxx)
nor @Requir...
Central asked 27/12, 2023 at 10:40
1
The annotation @RequiresApi is helpful for requiring that the annotated element is only called on the given API level or higher. However, there does not appear to be a corresponding annotation for ...
Beria asked 1/10, 2020 at 22:14
1
Solved
I would use the BadgeDrawable in my Android app on a Button, the issue is that when i'm trying to set to the button layout the badgeDrawable via attachBadgeDrawable i get an error on it which says:...
Leelah asked 26/4, 2021 at 7:56
2
Solved
I'm trying to use Android annotations framework because it seems quite powerful. I'm quite stuck to configuring my first project based on it.
I followed every step of the wiki but it doesn't genera...
Delusion asked 22/8, 2011 at 15:27
4
Solved
Is there a way to see the color preview of integer variables that defined as ARGB color in the left gutter of the Editor Window.I mean something like the colors preview that registered as resource....
Aldershot asked 5/4, 2018 at 8:6
1
I am trying to call an activity (activity A) from a service and what I want to happen is to check if there's already an instance of A on the stack, and if there is, to bring that to the top of the ...
Bricole asked 9/4, 2015 at 12:26
3
I'm working on migrating a project to Android Studio/Gradle and I'm having some problems getting the project to build properly with Android Annotations. From the gradle console output it looks like...
Deach asked 20/2, 2014 at 10:7
3
Solved
I can't run my project after adding the @EActivity Annotation to my class.
This is my Gradle Project:
// Top-level build file where you can add configuration options common to all sub-projects/mo...
Tailstock asked 12/3, 2019 at 22:20
7
I have setup ActiveAndroid as per the wiki instructions using latest version of AndroidStudio. I am using product Flavours. This is my gradle build file:
apply plugin: 'android'
apply plugin: 'and...
Fieldpiece asked 28/3, 2014 at 15:24
4
Solved
I have an enum:
public enum AppEnums {
SERVICE_ERROR,
CONNECTION_ERROR;
}
and I want to use it in an intDef of Android Annotation:
@IntDef({AppEnums.CONNECTION_ERROR, AppEnums.SERVICE_ERROR})...
Ytterbium asked 16/8, 2015 at 6:34
3
Solved
I updated Android studio to 3.5 but there is a problem when I use android annotations
Gradle may disable incremental compilation as the following annotation processors are not incremental: jetifi...
Supernaturalism asked 22/8, 2019 at 6:48
2
Solved
I'm trying to implement a class to discover services on the network.
I've tried working with Android's NSD and it does discover the services fine, but it supports only API levels 16 and up, and I c...
Sakai asked 22/5, 2014 at 11:44
2
Solved
The error I have is following:
Caused by: java.lang.IllegalArgumentException: No injector factory
bound for Class. Injector factories were bound for
supertypes of MyActivity_: [MyActivity]. D...
Poacher asked 5/1, 2018 at 8:25
5
Solved
Whats the difference between RequiresApi and TargetApi?
Sample in kotlin:
@RequiresApi(api = Build.VERSION_CODES.M)
@TargetApi(Build.VERSION_CODES.M)
class FingerprintHandlerM() : FingerprintMana...
Prole asked 12/10, 2016 at 20:2
2
I have been trying to find out how to apply @IntRange(from = 1) to my Kotlin property. After several failed attempts I finally just created the class I wanted in Java and converted it to Kotlin ins...
Julijulia asked 1/5, 2018 at 11:51
2
I've got problems with building my project in eclipse after moving to Android Annotations v.2.7, at the same time maven build is ok. Here is stacktrace from eclipse Error log:
Error
Mon Nov 05 15:...
Alidia asked 5/11, 2012 at 13:59
1
Solved
I'm using AndroidAnnotaion, but due to Android Studio 2.3 and Gradle 2.3.0, they said android-apt was obsoleted. And annotationProcessor is a new one. so, I want to know how can I configure annotat...
Zohar asked 6/3, 2017 at 9:36
8
I am evaluating Dependency Injection (DI) frameworks for an Android app. The top contenders are: Dagger (with Butter Knife) and Android Annotations. I understand that Dagger and ButterKnife are fro...
Hyetal asked 22/6, 2014 at 13:39
1
I want to learn Annotation, and i create a demo project.
But when I create a class extends AbstractProcessor, Android Studio can't find this class. How can I add it.
Ru asked 22/6, 2016 at 11:49
0
I am using the @Retention and @StringDef annotations for some of my methods in a library and I face a strange warning, I want to understand.
In a static class, SIP, I use this annotation:
public ...
Manganese asked 7/6, 2016 at 7:41
2
Solved
I've looked at several discussions and blogs about compiling Android Applications in Android Studio with AndroidAnnotations framework specially this one, but none of them helped me to get started.
...
Chancechancel asked 9/10, 2014 at 16:56
4
Solved
I'm receiving java.io.EOFException's when using Spring REST template on Android.
The stacktrace cause reads like this:
Caused by: java.io.EOFException
at libcore.io.Streams.readAsciiLine(Streams....
Denticle asked 1/11, 2012 at 17:35
3
I'm using AndroidAnnotations in an Android Studio gradle project. I currently get error output from AA during compilation that says:
cannot find symbol class MyActivity_
The error output does no...
Ardeen asked 23/10, 2014 at 18:38
1
Solved
I am using AndroidAnnotations in my project and I want to test a presenter.
The test suite runs and @Test methods are apparently called before the injection has finished, because I get NullPointer...
Ripon asked 17/3, 2016 at 14:50
4
Solved
I have an annotated Activity in a library, which is a subscriber to an EventBus event from the same library. It looks something like this, greatly simplified:
@EActivity(resName = "activity_foo")
...
Navarra asked 22/6, 2015 at 21:53
1 Next >
© 2022 - 2024 — McMap. All rights reserved.