Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 18 17:51
    JakeWharton commented #697
  • Jan 17 21:50
    roel1975 commented #697
  • Jan 17 14:10
    roel1975 commented #699
  • Jan 17 11:25
    phillipsgoncalves commented #697
  • Jan 17 11:25
    phillipsgoncalves commented #697
  • Jan 17 11:25
    phillipsgoncalves commented #697
  • Jan 17 11:25
    phillipsgoncalves commented #697
  • Jan 17 11:24
    phillipsgoncalves commented #697
  • Jan 17 11:24
    phillipsgoncalves commented #697
  • Jan 17 07:48
    googlebot commented #699
  • Jan 17 07:48
    dungnh516 opened #699
  • Jan 16 11:22
    JoseAlcerreca commented #693
  • Jan 09 13:39
    manuelvicnt synchronize #698
  • Jan 09 13:39

    manuelvicnt on dev-dagger

    Fixes some tests (compare)

  • Jan 09 10:59
    manuelvicnt review_requested #698
  • Jan 09 10:59
    manuelvicnt opened #698
  • Jan 09 10:58

    manuelvicnt on dev-dagger

    Adds Dagger to the project (compare)

  • Jan 08 22:31
    roel1975 commented #693
  • Jan 07 15:43
    JoseAlcerreca synchronize #693
  • Jan 07 15:43

    JoseAlcerreca on reactive_master

    Adds idling resources that were… (compare)

Ann
@WeiWW
hello world!
CrazyJoe
@joelan
hello
J.D.Song
@Juude
would it be better to use 'onXXXX' in contract, for example we can name onLoading instead of setLoadingIndicator.In this way we do not need to know what the View do in Presenter, we just need to know what happened in Presenter.
CrazyGuy
@Leonardo20180928
hello
Oscar
@oscarcpozas
@leov1 Hello
CrazyGuy
@Leonardo20180928
hi
linhengv1
@linhengv1
hello world!
wangfuda
@wangfuda
google I/O,any body will be there?
I/O
Kevin Lee
@healthy-tree

hello World , Is there any body ?

Jason Yeomans
@YeomansIII
Oh no, no activity :(
I think Room is broken
The auto-generated DAO implementation is trying to return a variable _return that is never defined.

Simple dao method

  @Query("SELECT * FROM Channels")
  List<Channel> getChannels();

Auto-generated implementation

  @Override
  public List<Channel> getChannels() {
    final String _sql = "SELECT * FROM Channels";
    final RoomSQLiteQuery _statement = RoomSQLiteQuery.acquire(_sql, 0);
    final Cursor _cursor = __db.query(_statement);
    try {
      return _result;
    } finally {
      _cursor.close();
      _statement.release();
    }
  }
Jason Yeomans
@YeomansIII
_result is never defined and therefor causes an error when trying to build the app
Jason Yeomans
@YeomansIII
Got it working.,..
Was just missing some annotations and such in my entity files
sangeetsuresh
@sangeetsuresh
Hi can someone help me regarding binding live data with databinding. I am using reterofit adapter to bind livedata directly to view model. But I need to show/hide progress bar. How to do that with live data
Aleph
@brendoncheung
@sangeetsuresh maybe using a callback?
@sangeetsuresh are you using the MVVM architecture?
sangeetsuresh
@sangeetsuresh
I got it
Yes I am using MVVM
Aleph
@brendoncheung
Hi, can anybody help me on how to inject repository into my view model class?
Please have a look
Aleph
@brendoncheung
thanks! do you have a java example?
my repository lives in my application level, and I'm not sure how to access my application inside of view model
I did sub class AndroidViewModel but doesn't work..
sangeetsuresh
@sangeetsuresh
Repository can be injected using dagger
issamux
@issamux
@brendoncheung yep as @sangeetsuresh explain , repository can be inject using dagger , your ViewModel or Interactor use reference on it s interface and Dagger will provide an implementation of it later ( Remote or Local or somethings else)
DARWIN V TOMY
@darwinvtomy
Hi
Shaleen Jain
@shalzz
Hey everyone! I'm using travis ci and with the latest version of proguard the log length is just so long the travis ci job terminates.
with the message "The job exceeded the maximum log length, and has been terminated."
Anyone else face this? I searched but couldn't find a way to reduce proguards verbosity
Dimitrios Tsigouris
@dimitrisCBR
@shalzz Sounds like a build-timeout. How long does your build take before failing? Check this out: https://docs.travis-ci.com/user/customizing-the-build#Build-Timeouts
Shaleen Jain
@shalzz
@dimitrisCBR Its not a build timeout rather a log length limit:
The proguard just spams the build output with class info which I don't remember it doing before only recently
Mainly with ProGuard, version 6.0.3
@dimitrisCBR Is there a way I can tweak the proguards verbosity?
Dimitrios Tsigouris
@dimitrisCBR
@shalzz The only thing I can think of, is removing " -verbose” and “-printconfiguration" option from your proguard-rules. Take a look here: https://www.guardsquare.com/en/products/proguard/manual/usage#generaloptions
Shaleen Jain
@shalzz
@dimitrisCBR Ah! yes, thanks. This is exactly what I was looking for. Somehow I just kept thinking there would be an environment variable that I'm missing ...
issamux
@issamux
Hi everyone , have you already used those components : viewmodel contentproviders and activity bind to service
In the same project i mean ...is there some good pratice for using vm service and loader with contentproviders... thanks
Activity use viewmodel ... activity bind to service and use a combination of service method and viewmodel to do job
What about using contentprovider in a clean architecture android project
69VR69
@69VR69
Hello all ^^, I am currently developing an Android application in which I need a Bluetooth connection to a HC-05 module. For this I use a library (https://github.com/akexorcist/Android-BluetoothSPPLibrary). I had nice change my code in every way.... nothing works and I have the following errors, I do not understand how I can solve this... Despite much research as much on the forums as well as on the technical Android doc, impossible to find a solution that works......
I enclose the various pages of code: (https://gist.github.com/69VR69/abc9a6efb513255f109b2a2983670bab
AND https:/gist. github. com/69VR69/da04d7803686965e4c2f2347d2729c24)
2019-03-17 19:09:16,948 18348-18348/? D/bluetooth2:... Connection error cause: read failed, plug can be closed or timeout, playback backward:-1...
2019-03-17 19:13:40,154 20027-20027/com. example. Android. beam D/bluetooth2:... Connection error cause: read failed, socket can be closed or timeout, read ret:-1...
69VR69
@69VR69
Any people have a solution ? please ^^
Chanjung Kim
@chanjungkim
Hi