[iOS][Android][ChaosOverFlow]

Join to become part of the community, not to simply ask questi...
Oct 6, 2020 05:57
Hmmm Ok
Oct 6, 2020 05:56
int vs Integer
Oct 6, 2020 05:56
Wrapper class use more memory ?
Oct 6, 2020 05:55
@Shubhank is it good practice we can use Wrapper class in android ( Integer) instead of int.
Oct 6, 2020 05:53
@ChaudharyAmar good to hear
Oct 5, 2020 10:14
Lagta he @ChaudharyAmar abhi thik nai he.
Sep 18, 2020 06:42
Take care @ChaudharyAmar
Sep 18, 2020 06:41
@Shubhank your test corona positive ?
Sep 18, 2020 06:32
Goodmorning all of you
Sep 7, 2020 04:41
Yup Monday is back now waiting for Saturday :))))))
Sep 7, 2020 04:20
Good, what about you?
Sep 7, 2020 04:15
Good Morning Shubhank
Sep 4, 2020 07:56
:)
 
Sep 4, 2020 09:50
:)
Sep 4, 2020 09:50
sent request
Sep 4, 2020 08:11
or linked in id ?
Sep 4, 2020 08:11
what is your skype id
Sep 4, 2020 07:51
ok
Sep 4, 2020 07:49
so i will add it
Sep 4, 2020 07:48
give me your gmail address
Sep 4, 2020 07:20
pass
Sep 4, 2020 07:19
yes give me id
Sep 4, 2020 07:18
?
Sep 4, 2020 07:18
Do you have teamviewer
Sep 4, 2020 07:17
have you updated this
Sep 4, 2020 07:17
implementation 'com.squareup.okhttp:okhttp:2.5.0'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.7.2'
Sep 4, 2020 06:56
Let me know what issue facing in api now ?
Sep 4, 2020 06:54
so you need to pass dynamic
Sep 4, 2020 06:54
I typed static data
Sep 4, 2020 06:54
is it wrong ?
Sep 4, 2020 06:52
update to this
Sep 4, 2020 06:52
implementation 'com.squareup.okhttp:okhttp:2.5.0'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.7.2'
Sep 4, 2020 06:51
Here what i got in logcat with my code

2020-09-04 12:07:46.282 11057-11130/com.tokbox.android.tutorials.simple_multiparty I/okhttp.OkHttpClient: <-- 200 OK http://182.72.94.154:1001/Api/OfflineCashTransaction (379ms)
2020-09-04 12:07:46.284 11057-11130/com.tokbox.android.tutorials.simple_multiparty I/okhttp.OkHttpClient: Cache-Control: no-cache
2020-09-04 12:07:46.284 11057-11130/com.tokbox.android.tutorials.simple_multiparty I/okhttp.OkHttpClient: Pragma: no-cache
2020-09-04 12:07:46.284 11057-11130/com.tokbox.android.tutorials.simple_multiparty I/okhttp.OkHttpClient: Content-Type: applic
Sep 4, 2020 06:47
Ok
Sep 4, 2020 06:47
@ChaudharyAmar working ?
Sep 4, 2020 06:44
check this one
Sep 4, 2020 06:44
implementation 'com.squareup.okhttp3:logging-interceptor:4.7.2'
Sep 4, 2020 06:43
yes i given
Sep 4, 2020 06:40
Also update in group this issue resolved
Sep 4, 2020 06:39
public AppServiceAPI createRetrofit(Context context) {
HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
logging.level(HttpLoggingInterceptor.Level.BODY);
OkHttpClient client = new OkHttpClient.Builder().connectionPool(new ConnectionPool(5, AppServiceAPI.TIMEOUT, TimeUnit.SECONDS)).connectTimeout(AppServiceAPI.TIMEOUT, TimeUnit.SECONDS).readTimeout(AppServiceAPI.TIMEOUT, TimeUnit.SECONDS).writeTimeout(AppServiceAPI.TIMEOUT, TimeUnit.SECONDS).addInterceptor(logging).build();
if (retrofit == null) {
Sep 4, 2020 06:39
Check this code is working
Sep 4, 2020 06:39
-----------------------------
Sep 4, 2020 06:38
but now it shows some error from db side
Sep 4, 2020 06:38
use this
Sep 4, 2020 06:38
RequestBody body = RequestBody.create(okhttp3.MediaType.parse("application/json; charset=utf-8"),(allDataArray).toString());
Sep 4, 2020 06:38
for me
Sep 4, 2020 06:38
Hey working
Sep 4, 2020 06:36
also update your alll gradle to new version for retorfit
Sep 4, 2020 06:35
implementation 'com.squareup.okhttp3:logging-interceptor:4.7.2'
Sep 4, 2020 06:35
int TIMEOUT = 90;
int BUFFER = 100;