Open sleepylee opened 6 years ago
I am not sure whether you are working on the latest code. I have already removed the CommunicationApi.java class from the code and the networking is happening only from NetworkModule.java.
It would be great if you can pull the code once again.
hi @explorer-gaurav, as you can see the attached links above are pointing to master
, it's retrievable from github online view.
@sleepylee Sincere apologies. I forgot to commit the cleanup I performed at the end.
Just pushed the cleanup code. For clarification, CommunicationApi.java was not getting used and the networking is happening only from NetworkModule.java.
Not so sure why should we have these Networking modules in 2 places (seems like we only use the one from DI) or can you please elaborate?
https://github.com/explorer-gaurav/Nimbl3/blob/master/app/src/main/java/com/gauravsaluja/nimbl3/network/CommunicationApi.java
https://github.com/explorer-gaurav/Nimbl3/blob/master/app/src/main/java/com/gauravsaluja/nimbl3/di/modules/NetworkModule.java