Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main Activity never appear #7

Open
andrea-liu87 opened this issue Aug 26, 2019 · 3 comments
Open

Main Activity never appear #7

andrea-liu87 opened this issue Aug 26, 2019 · 3 comments

Comments

@andrea-liu87
Copy link

andrea-liu87 commented Aug 26, 2019

Hello. I tried to deploy the app on my emulator. But it keep showing Splash Activity only. I have no idea what is happening.

After playing around with the code, I found that the DrinksFragment and TimerFragment doesnt load data properly

Expected behavior:

DrinksFragment shown as first view on Main Activity

Actual behavior:

DrinksFragment doesnt load data

How to reproduce:

  • Change var coldLaunch on NavigationOnItemSelectedListener class to FALSE
  • Deploy app on emulator
  • Press more tab on bottom navigation
  • Press drinks tab on bottom navigation

LogCat

19-08-26 11:44:51.714 9094-9094/? I/feegerm.brew_i: Not late-enabling -Xcheck:jni (already on)
2019-08-26 11:44:51.874 9094-9094/? W/feegerm.brew_i: Unexpected CPU variant for X86 using defaults: x86
2019-08-26 11:44:52.018 9094-9094/io.github.coffeegerm.brew_it I/feegerm.brew_i: The ClassLoaderContext is a special shared library.
2019-08-26 11:44:52.657 9094-9094/io.github.coffeegerm.brew_it W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@8e0a96f
2019-08-26 11:44:52.725 9094-9094/io.github.coffeegerm.brew_it W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@86fe5bd
2019-08-26 11:44:52.829 9094-9094/io.github.coffeegerm.brew_it W/feegerm.brew_i: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection)
2019-08-26 11:44:52.830 9094-9094/io.github.coffeegerm.brew_it W/feegerm.brew_i: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection)
2019-08-26 11:44:52.879 9094-9094/io.github.coffeegerm.brew_it W/feegerm.brew_i: Accessing hidden method Landroid/graphics/FontFamily;->()V (light greylist, reflection)
2019-08-26 11:44:52.879 9094-9094/io.github.coffeegerm.brew_it W/feegerm.brew_i: Accessing hidden method Landroid/graphics/FontFamily;->addFontFromAssetManager(Landroid/content/res/AssetManager;Ljava/lang/String;IZIII[Landroid/graphics/fonts/FontVariationAxis;)Z (light greylist, reflection)
2019-08-26 11:44:52.879 9094-9094/io.github.coffeegerm.brew_it W/feegerm.brew_i: Accessing hidden method Landroid/graphics/FontFamily;->addFontFromBuffer(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;II)Z (light greylist, reflection)
2019-08-26 11:44:52.879 9094-9094/io.github.coffeegerm.brew_it W/feegerm.brew_i: Accessing hidden method Landroid/graphics/FontFamily;->freeze()Z (light greylist, reflection)
2019-08-26 11:44:52.879 9094-9094/io.github.coffeegerm.brew_it W/feegerm.brew_i: Accessing hidden method Landroid/graphics/FontFamily;->abortCreation()V (light greylist, reflection)
2019-08-26 11:44:52.879 9094-9094/io.github.coffeegerm.brew_it W/feegerm.brew_i: Accessing hidden method Landroid/graphics/Typeface;->createFromFamiliesWithDefault([Landroid/graphics/FontFamily;II)Landroid/graphics/Typeface; (light greylist, reflection)
@Coffeegerm
Copy link
Owner

Coffeegerm commented Aug 26, 2019 via email

@andrea-liu87
Copy link
Author

@Coffeegerm yeah. I am learning from this app. As I learn your code further, who knows I can solve the bug in the future.

@Coffeegerm
Copy link
Owner

Coffeegerm commented Aug 27, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants