firebaseui

Error in adding dependency for firebase-ui-auth:2.3.0

余生颓废 提交于 2019-12-02 04:05:01
I'm facing this issue since yesterday... I am adding: //Add Library compile 'com.android.support:design:26.1.0' compile 'com.firebaseui:firebase-ui:0.2.0' compile 'com.google.android.gms:play-services-auth:11.2.2' compile 'com.google.firebase:firebase-auth:11.2.2' and the only code left for the app is: compile 'com.firebaseui:firebase-ui-auth:2.3.0' As soon as I'm adding this I'm getting an error: Error:Execution failed for task ':app:processDebugManifest'. Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.1.0) from [com.android.support:design:26.1.0]

Firebase RecyclerView: No Adapter Attached, Skipping Layout From Fragment

不想你离开。 提交于 2019-12-02 03:38:20
问题 I have an activity that hosts a TabLayout with 3 tabs. I am trying to load a recyclerview based on dynamic data in Firebase and the recyclerview simply is not populating any views. I am not sure if it has to do with the FragmentSectionPager adapter or what, but I am having no luck loading the actual RecyclerView. Activity: public class HomeActivity extends AppCompatActivity implements TrendingFragment.FragmentListener,FollowingFragment.OnFragmentInteractionListener, LiveFragment

RecyclerView doesn't load data in first launch using FirebaseRecyclerAdapter

别等时光非礼了梦想. 提交于 2019-12-02 02:21:15
I'm using FirebaseRecyclerAdapter to populate a RecyclerView in a Fragment . Here's my code mDatabase = FirebaseDatabase.getInstance().getReference(); myAdapter = new FirebaseRecyclerAdapter<Product, ProductViewHolder>(Product.class, R.layout.product_item,ProductViewHolder.class, mDatabase.child("clothes")) { @Override protected void populateViewHolder(ProductViewHolder viewHolder, Product model, int position) { mProgressBar.setVisibility(ProgressBar.INVISIBLE); viewHolder.name.setText(model.name); viewHolder.price.setText(model.price); Glide.with(getActivity()).load(model.imageUri).into

How reverse the data fetched with FirebaseUI-Android?

谁说我不能喝 提交于 2019-12-02 01:19:09
I try to use the FirebaseUI-Android lib to simply display a data set in a recycler-view. Data are store in Firebase in a list, thanks to push() method. When I get the data, I got the oldest data first, and my requirement is the youngest first. So I need a reverse order. Is there a way to do that with FirebaseUI itself? With Firebase Core, it seems the 2 only possible ways are (from Display posts in descending posted order ) : getting all the data, and revert them at runtime (in Force), thanks to @Kato snippet setting a decreasing priority for every item push in the list at writing time. This

Firebase RecyclerView: No Adapter Attached, Skipping Layout From Fragment

痞子三分冷 提交于 2019-12-02 01:02:34
I have an activity that hosts a TabLayout with 3 tabs. I am trying to load a recyclerview based on dynamic data in Firebase and the recyclerview simply is not populating any views. I am not sure if it has to do with the FragmentSectionPager adapter or what, but I am having no luck loading the actual RecyclerView. Activity: public class HomeActivity extends AppCompatActivity implements TrendingFragment.FragmentListener,FollowingFragment.OnFragmentInteractionListener, LiveFragment.OnFragmentInteractionListener { private DrawerLayout mDrawerLayout; private ListView mDrawerList; private

How to use FirebaseUI for Google authentication on iOS in Swift?

孤人 提交于 2019-12-02 00:05:51
I'm following https://firebase.google.com/docs/auth/ and want to use FirebaseUI ( https://github.com/firebase/FirebaseUI-iOS/tree/master/FirebaseUI ) for authentication. The UI shows successfully and I'm able to click "sign in with google" and then complete the web sign in flow. The app re-opens with the auth url, but the authUI function never fires. What's wrong? func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Override point for customization after application launch. FIRApp.configure() let authUI = FIRAuthUI

Firebase does not work properly

怎甘沉沦 提交于 2019-12-01 15:01:14
I have an online quiz app in Firebase. If my phone is in English, the app works fine, but when it change into Turkish, Piccaso does not load image.Please help me I can not find a solution for over a week In this case my phone is in English In this cas my phone is in Turkish private void loadCategories() { adapter = new FirebaseRecyclerAdapter<Category, CategoryViewHolder>(Category.class, R.layout.category_layout, CategoryViewHolder.class, categories) { @Override protected void populateViewHolder(CategoryViewHolder viewHolder, final Category model, int position) { viewHolder.category_name

FirebaseUI with RecycleView

纵饮孤独 提交于 2019-12-01 14:49:43
After uptade syntax of FirebaseUI, can't work without onPopulateViewHolder method. I read the doc of FirebaseUI and did the same. After running app, RecycleView is running without mistake, but it empty. The data of my Firebase didn't appear. I read that the common mistake is that RecycleView used the parameter wrap content or setHasFixedSize(true) . I did everything the same way, but the RecycleView is still empty. What is wrong? 1.Gradle: apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applicationId "com.example.eugene.lafinalproduction" minSdkVersion 15

FirebaseUI with RecycleView

馋奶兔 提交于 2019-12-01 14:21:30
问题 After uptade syntax of FirebaseUI, can't work without onPopulateViewHolder method. I read the doc of FirebaseUI and did the same. After running app, RecycleView is running without mistake, but it empty. The data of my Firebase didn't appear. I read that the common mistake is that RecycleView used the parameter wrap content or setHasFixedSize(true) . I did everything the same way, but the RecycleView is still empty. What is wrong? 1.Gradle: apply plugin: 'com.android.application' android {

Firebase Auth: Get users by email or phone number

坚强是说给别人听的谎言 提交于 2019-12-01 12:14:59
问题 I am building an Android App where I am using different ways for the user to register himself, like Email/Password, Phone, Google, Facebook, Twitter. I also want the users to be able to add one another as their contacts. If I was using Email and Google only, then it would've been easy to implement this as I could store the User's Email in the DB and use that to identify different users and create Relations between them. But now, the problem is that a User could register using their Phone