butterknife Questions
12
Building succeeds, but running on an emulator fails with this message in the console:
Cause: superclass access check failed: class butterknife.compiler.ButterKnifeProcessor$RScanner (in unnamed mo...
Tumefacient asked 24/2, 2022 at 20:36
9
Solved
I want using AndroidX library and below is my Gradle setup for Butterknife
app:module Dependency
implementation 'com.jakewharton:butterknife:9.0.0-SNAPSHOT'
annotationProcessor 'com.jakewharton:...
Robber asked 12/9, 2018 at 11:42
10
Solved
I upgraded my android studio to 3.4 canary and now I cannot successfully build anymore due to the following error:
The given artifact contains a string literal with a package reference 'android.s...
Uncivil asked 26/11, 2018 at 16:7
11
Solved
I am using butterknife 8.0.1, but a nullpointerexception is appearing.
This line is on my build.grade file:
compile 'com.jakewharton:butterknife:8.0.1'
this is my Main Class: (I wrote the inclu...
Subirrigate asked 3/5, 2016 at 20:19
5
Solved
Sorry if this question has been asked before. I am using the Butterknife 5.0 with the latest version of Android Studio(0.5.7). How can I remove the "Method is never used" warning for methods that u...
Temperance asked 30/4, 2014 at 7:51
9
I have a custom linearlayout class and when I want to create instance of this class, I get the following error:
lateinit property has not been initialized
I'm using the latest version of butterknif...
Bowleg asked 21/10, 2016 at 11:54
1
Solved
public class LoginActivity extends AppCompatActivity {
@BindViews(value = {R.id.logo, R.id.first, R.id.second, R.id.last})
protected List<ImageView> sharedElements;
@Override
protected...
Adamson asked 2/7, 2021 at 20:11
12
I get this error after adding inject on my class then it gives me a compilation error.
If I remove
@Inject static ApiService mApiService;
it's working fine
And I'm using 2 Application class th...
Brieta asked 3/5, 2017 at 9:11
2
Solved
I'm using annotated attributes all over my Android project to bind Views and events to fields and methods.
@BindView(R.id.textViewOrderId)
TextView textViewOrderId;
@OnClick(R.id.buttonDateFilter)...
Oblation asked 14/10, 2020 at 12:5
3
I have many edit texts inside differents TextInputLayouts, How can i get the TextInputLayout where is the edit text i am working with?
Example :
@BindView(R.id.eT)
EditText eT;
@BindView(R.id.eT...
Pendleton asked 4/8, 2017 at 18:34
4
Solved
build.gradle
buildscript {
ext.kotlin_version = '1.1.51'
repositories {
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:grad...
Frear asked 26/10, 2017 at 7:44
4
What's the best practice for calling : -
Butterknife.unbind()
in a custom Android view please?
Depict asked 22/4, 2016 at 13:14
4
Somehow I have a mistake in my gradle build. Somehow I cannot find the class Bind of butterknife.
It is probably due to my gradle, but I do not know.
I get this error:
Error:(40, 6) error: can...
Grocery asked 22/7, 2017 at 13:26
5
I have a CoordinatorLayout where I have my Button:
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.androi...
Stoneham asked 22/11, 2016 at 12:25
4
Solved
I have a basic Android app that I created with Android Studio, and I'm having problems adding butterknife to my build. I get this error:
Error:: duplicate files during packaging of APK C:\apps\ori...
Burseraceous asked 16/3, 2014 at 15:58
4
Solved
I am using Butterknife to simplify my code.
I have a TextView in the activity_main.xml file.
I want to display a toast by clicking on this TextView
But when I use @OnClick annotation from Butterkni...
Noisy asked 2/1, 2019 at 10:23
6
I'm trying to figure out the best way to do Android View Binding in Kotlin. It seems like there are a few of options out there:
findViewById
val button: Button by lazy { findViewById<Button>...
Desiderate asked 29/9, 2017 at 4:52
6
Solved
I have a RecycleView.ViewHolder class which use ButterKnife annotations.
Should my code unbind() in this ViewHolder class too?
public class AView extends RecyclerView.ViewHolder
{
@BindView(R.id...
Brio asked 24/6, 2016 at 14:8
0
I have migrated to androidX by using android studio 3.4 and after migrating I'm facing every time this issue. Though I've tried excluding butterknife compilerAnnotation in gradle.properties but tha...
Kiona asked 23/5, 2019 at 4:43
10
I'm trying to use Kotlin with Butterknife for my Android Application.
Here is my build.gradle
dependencies {
...
compile 'com.jakewharton:butterknife:8.0.1'
kapt 'com.jakewharton:butterknife-c...
Motte asked 25/2, 2017 at 6:58
3
Solved
I try to bind ButterKnife to a AleterDialog that i made with a DialogBuilder method
And exist this method ButterKnife.bind(Object,Dialog); but dosen't work for me
import android.support.v4.app.Dia...
Vintager asked 11/5, 2016 at 21:1
6
Solved
I want to using Butter Knife in my project.I did everything according to the Butter Knife tutorial.
But when I set anything to the views (setText, setClickListener ...) I got null object reference ...
Dextral asked 28/4, 2016 at 21:28
3
Solved
we're just starting a new project
And it seems like both butterknife and databinding are awesome tools to reduce boilerplate code.
We started with butterkife and added databinding later, the idea...
Bearce asked 20/12, 2016 at 15:34
0
Trying to test the application with butterknife 8.4.0 and some sample text and I keep getting a NullPointerException The actual code itself is fine but I believe Android.mk might be the issue. So h...
Excoriate asked 6/7, 2018 at 21:35
3
I have issue with passing data to fragments. It crashes 0.1% of all times on production. Let's say on 100k opening of activity it happens 100 times. It looks like not very often, but it very bother...
Core asked 12/5, 2018 at 6:37
1 Next >
© 2022 - 2024 — McMap. All rights reserved.