Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Nitya Narasimhan
    @nitya
    Hey David .. Will check it out tonight. They changed codebases recently so I haven't tried out updates yet but will verify this and then update you or them as appropriate
    Hendrix Tavarez
    @lockerfish
    @Polymath-Z they missed to close the database in some cases in WeatherProvider... Try adding db.close(); before returning.
    David DeGroate
    @Polymath-Z
    @lockerfish Thanks for the advice! Although the instructor notes specifically say "Please do not have db.close statements in your content provider," the tests will fail unless I call db.close() in those methods.
    Ivan Fernandes
    @ivan94
    @nitya @lockerfish I tried it but still buggy. I do not know if it changed the behavior is some specific case but overall still behaving the same with the new flag. I tried to check the share_history.xml but I don't know how to do it. If i'm right the file is created on the private app storage space and I can't read it from adb shell or the device monitor. How do I look at the file? Do I need to open it on the app and log the contents? if that's the case I need to know the app data folder structure and where the file is located.
    John Shea
    @johnshea
    @nitya I see you merged my pull request for lesson-6 but the book didn't rebuild. Services and Notifications is missing the changes.
    Nitya Narasimhan
    @nitya
    @john ..really. I'll force an update. You should have direct commit access too right?
    John Shea
    @johnshea
    @nitya I think i do but wanted practice on using pull requests - thats why i do it that way
    Nitya Narasimhan
    @nitya
    @john aha.. No worries then. I'll push an update first thing tomorrow and it should trigger a rebuild.
    John Shea
    @johnshea
    @nitya thanks...it is just weird...you merged in 3 of my pull requests back to back...it was just the last one that didn't trigger a rebuild
    Nitya Narasimhan
    @nitya
    @johnshea yes that was weird. Forced a rebuild (and also put a note — looks like the Sunshine-Version-2 github repo disappeared so for now will leave it with 1.0 links)
    Ivan Fernandes
    @ivan94
    Hi @nitya, as promised I have a question:
    The app up until lesson 5, fetch weather data from the server whenever the refresh button is pressed. It fetches the data and stores it. I don't see anywhere in the code they deleting this data, just storing. If I press the refresh button more than once in an interval small enough that the data from the server is the same in all those refreshes, the database will get some "duplicate" rows. On the Loader query we set the sortOrder to sort the data by the date, so in my view it should show some duplicate data as response right? for example if I have 3 identical forecasts for tomorrow among the data in the database, when I query sorting by date I should get all this data together. But that does not happen. So my question is why i'm not getting duplicate data on the forecast list?
    Yash Thakur
    @yashthakur1
    hey anyone has idea on getting context in a non activity class
    without passing parameters everytime while calling a function
    Hendrix Tavarez
    @lockerfish
    @yashthakur1 it depends on the the type of stuff you need to preserve in your context. The way I typically think about it is if it is stuff related to the lifecycle of an activity then use Activity Context otherwise use Application Context. Application context is there for the lifetime of the app. So, it survives activity lifecycle probably that's what you need. As a side note, don't keep presumably memory leaky stuff.
    in your Application Context.. keep it lightweight.
    mohasu1992
    @mohasu1992
    how to create a navigation drawer in empty activity
    Rakshithkhatokar
    @Rakshithkhatokar
    Hi ,
    I'm working on Bluetooth low energy,
    I need a help on this
    Suman Ghimire
    @SeonSarkar
    how to work with media player using service
    Yash Thakur
    @yashthakur1
    anybody has a genymotion alternative
    ?
    Manikandan
    @Manikandan142
    @yashthakur1 you want emulator?
    catapulto
    @catapulto
    hey i am new android
    plz help i want if i want buil a call recording is kotlin is sufficient
    ericbehughes
    @ericbehughes
    is this android exclusive or monaca/cordova android
    Saurabh Srivastava
    @simsausaurabh
    I have made contribution still I am unable to join organisation
    please someone invite me
    I have to join organisation
    sheena isawsum
    @skcrouch7
    I have a question. How do i hard reset my lg k7 metropcs phone?
    Anirudh
    @Anirudh-johnson
    i am starting a startup any one want to join for android developers