A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/firebase/FirebaseUI-Android/issues/1783 below:

[Auth] Can't set GithubLoginButtonID to AuthMethodPickerLayout · Issue #1783 · firebase/FirebaseUI-Android · GitHub

Welcome to FirebaseUI and thanks for submitting an issue!

Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.

If not, please feel free to fill in the following info so we can help faster!

Step 1: Are you in the right place? Step 2: Describe your environment Step 3: Describe the problem: Steps to reproduce:
  1. import com.firebase.ui.auth.AuthMethodPickerLayout
  2. create AuthMethodPickerLayout with AuthMethodPickerLayout.Builder
  3. use setGithubButtonId to set button id from custom layout file.
Observed Results:

There is a merged PR at #1583, so I expected to using setGithubButtonId , but cannot compile with Unresolved reference error.

I checked source code here,
https://github.com/firebase/FirebaseUI-Android/blob/master/auth/src/main/java/com/firebase/ui/auth/AuthMethodPickerLayout.java

and here,
https://github.com/firebase/FirebaseUI-Android/blob/version-6.2.1/auth/src/main/java/com/firebase/ui/auth/AuthMethodPickerLayout.java

I can't find setGithubButtonId method.

Is that removed for any reason?

Expected Results:

No compile error and build completes.

Relevant Code:
          val authLayout = AuthMethodPickerLayout.Builder(R.layout.layout_auth)
              .setEmailButtonId(R.id.email_button)
              .setFacebookButtonId(R.id.facebook_button)
              .setTwitterButtonId(R.id.twitter_button)
              .setGoogleButtonId(R.id.google_button)
              .setGithubButtonId(R.id.github_button)
              .build()

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4