firebaseui

FirebaseUI gives compilation error

馋奶兔 提交于 2019-12-10 12:13:43
问题 Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [com.firebaseui:firebase-ui:0.4.0] D:\workspace\demo\SampleLoginDemo\app\build\intermediates\exploded-aar\com.firebaseui\firebase-ui\0.4.0\AndroidManifest.xml Suggestion: use tools:overrideLibrary="com.firebase.ui" to force usage when used firebaseui.0.4.4 回答1: Change compile 'com.firebaseui:firebase-ui:0.4.4' to compile 'com

FirebaseUI Authentication with Facebook not logging in

淺唱寂寞╮ 提交于 2019-12-10 10:15:24
问题 I'm using FirebaseUI Auth in Android for user authentication. Dependencies in my app build.gradle for Facebook Login: compile 'com.google.firebase:firebase-auth:11.0.0' compile 'com.firebaseui:firebase-ui-auth:2.0.0' compile 'com.facebook.android:facebook-android-sdk:[4,5)' Classpath dependencies in my project build.gradle: classpath 'com.google.gms:google-services:3.1.0' My FirebaseUI Authentication Code in my Activity onCreate(): final AuthUI.IdpConfig facebookIdp = new AuthUI.IdpConfig

Filtering data before populating view from FirebaseRecyclerAdapter

核能气质少年 提交于 2019-12-10 10:03:55
问题 Taking reference from FireChat app I used FirebaseRecyclerAdapter in my app, it is working fine but I need to filter data which equals to specific user ID. In populateView if I does that data is getting filtered but a blank recycler Item item is also getting created. mFirebaseAdapter = new FirebaseRecyclerAdapter<Tags, TagsViewHolder>( Tags.class, R.layout.item_message, TagsViewHolder.class, mFirebaseDatabaseReference.child("tags")) { @Override protected void populateViewHolder(TagsViewHolder

Sorting Data in Firebase

送分小仙女□ 提交于 2019-12-10 09:33:38
问题 I'm using Firebase listview at its shown below and its working like a charm but the problem is it displays the last pushed key in the child("Posts") at the end of my listview(lv) I want the last pushed key to be displayed above all or if i can sort it by date. query = ref.child("Posts").orderByKey(); FirebaseListAdapter<ChatRoomJ> adapter = new FirebaseListAdapter<ChatRoomJ>( ChatRoom.this, ChatRoomJ.class, R.layout.lvchatroom,query ) { @Override protected void populateView(View v, ChatRoomJ

Firebase recycler adapter pagination

非 Y 不嫁゛ 提交于 2019-12-09 04:46:51
问题 mFirebaseAdapter = new FirebaseRecyclerAdapter<Restaurant, FirebaseRestaurantViewHolder> (Restaurant.class, R.layout.restaurant_list_item, FirebaseRestaurantViewHolder.class, mRestaurantReference) I had like 1000 elements/objects in mRestaurantReference . I will definitely get performance issues if I use the above code so I have to paginate it. So how can I paginate data using FirebaseRecyclerAdapter ? 来源: https://stackoverflow.com/questions/41277620/firebase-recycler-adapter-pagination

Unable to use FirebaseRecyclerAdapter

巧了我就是萌 提交于 2019-12-09 04:35:32
I am getting cannot resolve FirebaseRecyclerAdapter when trying to use it even after adding firebase ui in gradle dependency.Thanks in advance Can you show your build.gradle file? Also, have you tried putting this under your package name in your java class: import com.firebase.ui.database.FirebaseRecyclerAdapter; ? I was getting the same issue, it's resolved by adding the firebase-ui dependency in build.gradle (module:app) compile 'com.firebaseui:firebase-ui-database:0.4.0' Also add the import in .java file where you're trying to declare it. import com.firebase.ui.database

Unable to load more than one row using FirebaseRecyclerAdapter

痴心易碎 提交于 2019-12-09 03:02:29
I am trying to fetch the data from firebase, using firebaseRecyclerAdapter. But I am unable to populate all the data from the firebase database to the RecyclerView. Database is as follows: The output I am getting is only from the "qqq" row rvlist Class: public class rvlist { String name, propellant; public rvlist() { } public rvlist(String name, String propellant) { this.name = name; this.propellant = propellant; } public String getName() { return name; } public String getPropellant() { return propellant; } } MyViewHolder: public class MyViewHolder extends RecyclerView.ViewHolder { View mView;

“No Such module as firebaseUI”

删除回忆录丶 提交于 2019-12-08 11:42:38
问题 @import FirebaseUI; When I imported this module it shows "No Such Module as FirebaseUI" but I have already installed pods pod 'Firebase/Core' pod 'FirebaseUI' pod 'FirebaseUI/Auth' pod 'FirebaseUI/Google' pod 'FirebaseUI/Facebook' pod 'FirebaseUI/Twitter' pod 'FirebaseUI/Phone' I am new to ios can someone please help me 回答1: Downloaded FirebaseUI.framework from https://github.com/firebase/FirebaseUI-iOS/releases Dragged FirebaseUI.framework into my project @import FirebaseUI or use #import

how to put Firebase RecyclerView inside another RecyclerView

寵の児 提交于 2019-12-08 09:54:27
问题 basically i am having an application like a homework reminder the user can insert a list of subjects and in each subject a list of homeworks i know its the worst practice and i cant put recyclerview inside another one but i need that in my application as subjects cannot be counted+other things i inserted it in firebase database successfuly like that that is subject_item.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android

Unable to load more than one row using FirebaseRecyclerAdapter

帅比萌擦擦* 提交于 2019-12-08 07:56:36
问题 I am trying to fetch the data from firebase, using firebaseRecyclerAdapter. But I am unable to populate all the data from the firebase database to the RecyclerView. Database is as follows: The output I am getting is only from the "qqq" row rvlist Class: public class rvlist { String name, propellant; public rvlist() { } public rvlist(String name, String propellant) { this.name = name; this.propellant = propellant; } public String getName() { return name; } public String getPropellant() {