firebaseui

FireBaseRecyclerView in FirebaseRecyclerView can not be applied to : (arguments)

陌路散爱 提交于 2019-12-23 04:14:06
问题 I'm trying to retrieve data from Firebase to Recyclerview. I've already implement all other steps but now i'm getting error at the last stage when i'm implementing the adapter(FirebaseRecyclerAdapter). My Fragment public class Journal extends Fragment { RecyclerView recyclerView; DatabaseReference myref; @Override public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { View v = inflater.inflate(R.layout.activity_journal,container

Unable to use FirebaseRecyclerAdapter

谁都会走 提交于 2019-12-23 03:18:08
问题 I am getting cannot resolve FirebaseRecyclerAdapter when trying to use it even after adding firebase ui in gradle dependency.Thanks in advance 回答1: 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; ? 回答2: 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

How to initialize a Listview inside a fragment of Tab view android?

こ雲淡風輕ζ 提交于 2019-12-23 01:42:21
问题 I have an activity which has three tabs. One fragment for each tabs. In the xml of the fragment layout I have a listview. I need to initialize this list view and populate it with data from the firebase. How can I do that? My activity code is public class AccountActivity extends AppCompatActivity { private SectionsPagerAdapter mSectionsPagerAdapter; private ViewPager mViewPager; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R

Open FirebaseUI-Android with Android Studio

China☆狼群 提交于 2019-12-22 18:29:38
问题 When I try to open FirebaseUI-Android with Android Studio nothing happens. I use Android studio 3.1.3. I want to see demos there. https://github.com/firebase/FirebaseUI-Android.git I have tried to open app project but nothing happens. All views show a message that said "Nothing to show". Someone have opened this project with android studio? Thanks. 回答1: I did: Download latest version of gradle from https://gradle.org/ Open Android project and choose only app folder Select my gradle folder

Disable account chooser FirebaseUI React

巧了我就是萌 提交于 2019-12-22 06:56:59
问题 I'm struggling with something that looks like a piece of cake, but I still can't manage to find a solution. I'm implementing a firebase authentication process, with reactjs and firebaseUI web react. Everything is just fine, except the fact that when I try to login using email/password, it takes me to accountchooser, which is a behavior I don't want. I searched the docs, github issues etc... But All I found was adding the line below in the uiConfig object : credentialHelper: firebaseui.auth

java.lang.NoSuchMethodError: No virtual method setTokenProvider

拟墨画扇 提交于 2019-12-22 04:31:34
问题 Below error occurs whenever i add com.google.firebase:firebase-firestore:19.0.0 to the Gradle and run the app. E/AndroidRuntime: FATAL EXCEPTION: main Process: meter.meter, PID: 13588 java.lang.NoSuchMethodError: No virtual method setTokenProvider(Lcom/google/firebase/internal/InternalTokenProvider;)V in class Lcom/google/firebase/FirebaseApp; or its super classes (declaration of 'com.google.firebase.FirebaseApp' appears in /data/app/meter.meter-Qosf8nECYGfI4HI93CwJrw==/split_lib_dependencies

FirebaseUI Auth - Facebook Login error : Unsuccessful debug_token response from Facebook

*爱你&永不变心* 提交于 2019-12-22 04:11:41
问题 I'm trying to integrate FirebaseUI Auth library. Google sign-in and Email sign-in are working fine but I have a problem setting up Facebook Login. This is my code: user = firebaseAuth.getCurrentUser(); if (user != null) { startMainActivity(); finish(); } else { startActivityForResult( AuthUI.getInstance() .createSignInIntentBuilder() .setIsSmartLockEnabled(!BuildConfig.DEBUG) .setProviders(Arrays.asList(new AuthUI.IdpConfig.Builder(AuthUI.EMAIL_PROVIDER).build(), new AuthUI.IdpConfig.Builder

FirebaseUI Auth - Facebook Login error : Unsuccessful debug_token response from Facebook

眉间皱痕 提交于 2019-12-22 04:11:40
问题 I'm trying to integrate FirebaseUI Auth library. Google sign-in and Email sign-in are working fine but I have a problem setting up Facebook Login. This is my code: user = firebaseAuth.getCurrentUser(); if (user != null) { startMainActivity(); finish(); } else { startActivityForResult( AuthUI.getInstance() .createSignInIntentBuilder() .setIsSmartLockEnabled(!BuildConfig.DEBUG) .setProviders(Arrays.asList(new AuthUI.IdpConfig.Builder(AuthUI.EMAIL_PROVIDER).build(), new AuthUI.IdpConfig.Builder

How to set multiple layout in FirebaseRecyclerAdapter?

£可爱£侵袭症+ 提交于 2019-12-22 01:09:11
问题 I just make a chat application with Firebase and using RecyclerView in XML and using FirebaseRecyclerAdapter in Android, but the problem is that when I send a message through EditText, the message is sent successfully and show to the right side that I set with Layout as you can see in code below but the problem is that when I close app and restart the message go to left side: mFirebaseRecyclerAdapter = new FirebaseRecyclerAdapter<MessageModel, MessageViewHolder>( MessageModel.class, R.layout

How to add search filter for RecyclerView while working with Firestore?

泪湿孤枕 提交于 2019-12-21 21:27:50
问题 So, i'm trying to create app that shows list of writers(image,name,bio) and the thing is that I have problem implementing search functionality. The guide for working with RecyclerView I used is here. Code: MainActivity public class MainActivity extends AppCompatActivity { private FirebaseFirestore db; private FirestoreRecyclerAdapter adapter; private LinearLayoutManager linearLayoutManager;//nodrosina kada veida recycle attelos private List<Klasiki> list; @BindView(R.id.imageRecycleView)