dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.google.firebase:firebase-database:16.0.4'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.android.support:design:28.0.0'
implementation 'com.firebase:firebase-client-android:2.3.1'
}
Это зависимости в моей сборке Gradle. Я получаю ошибку с классом Ananomyous класса, полученным из ValueEventListner.
Нажмите, чтобы получить изображение ошибки:
Ошибка с анонимным классом класса, полученным из ValueEventListner
Я не могу выйти из этой ошибки, любая помощь будет оценена? Здесь у меня было еще одно сомнение при получении данных из firebase. Я использую ValueEventListner из зависимости от клиента firebase или из базы данных firebase. Заранее спасибо.