• s

    Steve

    2 years ago
    Why? That's what deep linking is for
    s
    Ahmed Mourad
    2 replies
    Copy to Clipboard
  • emmax

    emmax

    2 years ago
    Are you describing like a master detail view? https://proandroiddev.com/master-detail-views-with-navigation-components-a20405f31974 There is also a Google code sample which shows how you can have a BottomNavigationView, with each top-level destination having its own navigation host and stack. https://github.com/android/architecture-components-samples/tree/master/NavigationAdvancedSample Not sure if either of those help. I'm not sure your exact scenario but thought I'd pass it along fwiw @Ahmed Mourad
    emmax
    1 replies
    Copy to Clipboard
  • u

    ursus

    2 years ago
    would you espresso or instrument unit test it?
    u
    Raul Tunduc
    +1
    6 replies
    Copy to Clipboard
  • Ahmed Mourad

    Ahmed Mourad

    2 years ago
    How do you "bind" your LiveData objects to a corresponding TextView, if you're supposed to expose all your LiveData objects as immutables? (Without DataBinding)
    Ahmed Mourad
    Orhan Tozan
    +1
    140 replies
    Copy to Clipboard
  • u

    ursus

    2 years ago
    Has anyone used protobuf for their rest apis?
    u
    tschuchort
    +3
    10 replies
    Copy to Clipboard
  • u

    ursus

    2 years ago
    should I use a webview or external browser? Isn't the point of it the delegating to a trusted 3rd party?
    u
    s
    +2
    28 replies
    Copy to Clipboard
  • s

    Steve

    2 years ago
    Is there a good guide for adding a debug mode to the app that would only be enabled during debug builds? Like say specifically for being able to switch web server endpoints and turning on something like MockWebServer?
    s
    s
    3 replies
    Copy to Clipboard
  • k

    Koya Sivaji

    2 years ago
    One weird issue I am facing while using NavGraph. Whenever <- (back button) selected in toolbar, soft keyboard is not closed automatically. Seems a bug in AndroidX navigation. Has anyone faced this issue?
    k
    emmax
    +1
    5 replies
    Copy to Clipboard
  • julian

    julian

    2 years ago
    Anyone here use Spotify's Mobius framework? I'm trying to get a sense of whether it has much traction outside of Spotify's internal use. (It's one of the contenders for unidirectional frameworks).
    julian
    b
    2 replies
    Copy to Clipboard
  • bhatnagarm

    bhatnagarm

    2 years ago
    Hey everyone, as showcased in Google samples making Repository class as Singleton seems to be bit confusing. So as per my understanding a Singleton class doesn't get Garbage collected as it's instance being stored into static variable. Doesn't this seems kind of anti-pattern. Until it's some common repository what's the use case for it to outlive it's scope which may be just within a smaller scope. So what do you guys think?? How many of you consider making Repository class as Singleton. If yes, then I'm really Keen to understand.
    bhatnagarm
    s
    +2
    12 replies
    Copy to Clipboard