« first day (1610 days earlier)      last day (2373 days later) » 

1:43 AM
A question raise in my mind: when Swift reach to the end version?
 
 
2 hours later…
3:40 AM
0
Q: how to remove simple adapter view on listview in runnable

gokumijo2I have a listview that gets layout from adapter. The value was fetch using retrofit 2 and parse on the listview. This value updates on the API and want to implement the same feature. The problem is that it doubles value when runnable process. How can I make it work? Here is the code: class ...

 
you should using RecyclerView in your case for infinity scrolling, request and loading
If there answer are not fits to your reqiurement, I think there is nothing reason for you to stay with ListView.
 
4:32 AM
Good morning all :)
 
Good morning all :)
 
GM all
 
4:59 AM
Good morning
 
@nyconing from what version of device will that support?
GM
 
@JaysonJohn RecyclerView is support library v7. Needed >API level 21, and targeted >API level 9
 
Can anybody help me with this https://stackoverflow.com/questions/45703825/how-to-remove-simple-adapter-view-on-listview-in-runnable

I want to have a auto-refresh listview however it does gives me duplicate values on listview when runnable process
 
1 hour ago, by nyconing
you should using RecyclerView in your case for infinity scrolling, request and loading
 
5:26 AM
@nyconing, but using listview can you help me?
How do i check if listview on my code is not null
 
5:51 AM
Good morning all
 
GM
Can anybody help me why I am getting double value when my runnable runs stackoverflow.com/questions/45703825/…
on my listview
 
6:28 AM
Good morning friends.........!
 
haha @Gattsu thanks..
 
6:48 AM
GM
 
7:00 AM
Good afternoon @all
 
Good morning
@Dory
 
@Dory wc busy Dory ;)
 
Why if(lv.getCount() != 0) {
lv.setAdapter(null);
}
is not working?
 
@JaysonJohn your question is not clear
 
I have this question
0
Q: how to remove simple adapter view on listview in runnable

gokumijo2I have a listview that gets layout from adapter. The value was fetch using retrofit 2 and parse on the listview. This value updates on the API and want to implement the same feature. The problem is that it doubles value when runnable process. How can I make it work? Here is the code: class ...

I set this inside getVehicle
if(lv.getCount() != 0) {
lv.setAdapter(null);
}
but it is not working.. Why?
 
7:05 AM
@JaysonJohn you want to clear list ?
 
correct
however it appends so it double the value
 
call vehicle.clear();
 
When this one execute it double the value
Runnable refresh = new Runnable() {
@Override
public void run() {
new GetVehicles().execute();
handler.postDelayed(this, 60 * 1000);
}
};
 
you have not clear the data of arraylist before adding more data
so it duplicates the data called from the API
 
Thanks.. saved my day!
:)
 
7:11 AM
welcome
:)
Runnable refresh = new Runnable() {
@Override
public void run() {
vehicle.clear();
new GetVehicles().execute();
handler.postDelayed(this, 60 * 1000);
}
};
it will call after 60 seconds
handler.postDelayed(this, 60 * 1000);
 
this.run()?
 
@JaysonJohn Do you want me to answer that ?
 
oh, sorry, still mind in kotlin. this should worked
 
Gattsu
 
@JaysonJohn yes
 
7:18 AM
I have problem on GetVehicles().execute(); I am facing null pointer on // Showing progress dialog
pDialog = new ProgressDialog(getActivity());
pDialog.setMessage("Please wait...");
pDialog.setCancelable(false);
pDialog.show();
= new ProgressDialog(getActivity());
 
share your error log
 
@JaysonJohn remove private from pDialog as it is called from another class
 
Hi friends i had a problem in my web project in iphone devices ,and users told me form not submit,any one has apple device,please test my code and feedback me,thanks,please see codepen.io/shahkar/pen/zdEjbR
 
I did
Why should I remove private from pDialog?
will that works
 
@JaysonJohn you have declared it in VehicleListFragment & it is called from another class GetVehicles
so you have to remove it
 
7:24 AM
let me test
Wonderful Gattsu. You did a fantastic support!! :D
 
lol
welcome
should I post answer then ? @JaysonJohn
 
@NightFury
 
@NightFury
 
@NightFury
:D
 
@NightFury ;)
 
7:32 AM
@NightFury :)
 
nobody has apple device?!!
 
0
A: how to remove simple adapter view on listview in runnable

GattsuTry using this: Runnable refresh = new Runnable() { @Override public void run() { vehicle.clear(); // This will clear the old data from arraylist. new GetVehicles().execute(); handler.postDelayed(this, 60 * 1000); //This will call after every 60 seconds. } };...

posted
 
@Gattsu please telling them to use RecyclerView instead.
 
Kaha hain sab ?!
 
@nyconing do you have apple device?
 
7:36 AM
nope.
 
@Dhruv busy hai be
@nyconing sure
@nyconing suggestion appreciated
 
@JaysonJohn please using RecyclerView next time implement.
less code. less bug. less time. more reliable, more extensible.
 
@JaysonJohn
RecyclerView is powerful when you need to customize your list or you want better animations. Those convenience methods in ListView caused a lot of trouble to people which is why RecyclerView provides a more flexible solution to them.
 
any apple device ;(
 
NO
 
7:42 AM
Go apple selling point and test on it :P
 
@MehdiRostami here many have ;)
 
ok thanks
 
@Dhruv @MehdiRostami @Gattsu hey
busy guys :(
 
@NightFury lol, check who is saying
 
8:05 AM
@NightFury you are busy
not me
 
@Dhruv yes
@Gattsu yeahhhh... do i know u ?
 
8:42 AM
@Dory lol me maven
hahahaha
 
hahaha u shifted UK @Gattsu
 
>> welcome back dory
@Dory now back :/
some official work
 
@Gattsu okkk... ur profile says u r in UK :P
go back
 
:'(
@Dory put Dory in poisoned water
 
hainnnn
/punch @Gattsu
/awake
 
8:49 AM
Dory escaped
 
Dory Su chale ?
 
water chale
:D
@LeTrongTriet welcome to room you can talk after >20 reputations on stackoverflow.
 
@Dhruv i told u na. what was for today :/
@Gattsu haha
u seem big fan of dory :P @Gattsu
expected answer
 
:/
hi @Kamini
@JaysonJohn have you checked my answer ?
 
9:05 AM
@Gattsu Yep,..
 
@JaysonJohn nice
I am free so ask me more questions
 
It works fabulously
 
:P
 
no one is talking to me
@NightFury :@
why are you busy, I come so less in rooms ... still you are busy everytime
 
9:07 AM
Gattsu if you are free can you help me run GoogleMapsV2WithActionBarSherlock in AS?
 
why to use ActionBarSherlock ?
Use toolbar
actionbarsherlock is deprecated
 
I wanna test and run it's features
I am developing map navigation
 
@JaysonJohn ok
there are many simpler way to do that
 
@Gattsu I am sorry, didn't recogznize you.. You might have changed name I think..
 
ehhhhhhhhhhhhh
 
9:19 AM
oh didnt check. hellos :)
 
hellllllllllooooooooooooooooo
:D
busy people
 
haha yeah. I was free in morning, then had to look upon a task
 
allllllllll areeeeeeeeee busyyyyyyyyyyyyy todayyyyyy
 
yeah yeah except you :p
whats up nowadays ?
 
:D
 
9:23 AM
Why can't I see you in naruto's room? :o
 
lol going
@MehdiRostami checked ?
2 hours ago, by Gattsu
user image
 
hello friends can anyone help me out in ios
I need help in google drive file uploading using swift 3
 
@Gattsu yes it works in your device,whats your safari version and os version?
 
no i am creating an app and using this link developers.google.com/drive/v3/web/quickstart/ios?ver=swift
i login successfully in drive and get all file name
but unable to upload file or folder
@NightFury
 
9:43 AM
@Udaikumar any error ?
 
Hello @NightFury @Ninja
@Udaikumar
 
crashing on let fileData: NSData = FileManager.default.contents(atPath: "bgImg.jpg")! as NSData
 
add permission
 
Please guid me how calculate height and width dynamically in tableview cell label?
@Udaikumar hello can you please help
 
9:49 AM
@Dipang for cell height heightForRow is used, so while loading the data you can calculate and set in table delegate
 
@JaysonJohn Still using ActionBarSherlock ?
 
I am trying to run the project unfortunately I cannot. It was using actionbarsherlock
I just want to check for its features
@NightFury
 
@Udaikumar check path of file
 
0
Q: UITableView Scrolling time face the issue

NiravSI create the UITableView and then after I give the shadow to the table view. But when I apply the shadow to the table view at that time scrolling effect have some issue and not give proper scrolling effect. Here is the shadow code of.. extension UIView { func shadow() { self.layer.s...

 
@JaysonJohn I cannot see any gradle file there. Moreover, it contains .properties file. So it will compile on eclipse. You have to migrate it on AS
 
9:53 AM
I tried it. It never runs
 
how to show that layout in ios
 
It is looking for many dependencies
 
any one did this before or any idea guys? need to show in feeds like facebook feeds
 
0
Q: UITableView Scrolling time face the issue

NiravSI create the UITableView and then after I give the shadow to the table view. But when I apply the shadow to the table view at that time scrolling effect have some issue and not give proper scrolling effect. Here is the shadow code of.. extension UIView { func shadow() { self.layer.s...

 
@JaysonJohn You should try some other lib
 
user3295818
9:56 AM
 
@NightFury let me check it again on eclipse
 
user3295818
For the past 3 hour there is no action.. What may be the problem? I have tried several times.... No error....No action
 
@raghunath i think their is a problem of distribution certificates or singing certificates or u can try with new archive again
 
@raghunath try application loader. It is fast and much better than uploading build with xcode
 
user3295818
I have tried with new Archive that also same problem
 
10:01 AM
with app loader ?
 
@raghunath pls check ur certificates and reconnect to ur project again
 
user3295818
10:19 AM
ok
 
11:19 AM
hi @nyconing
@NightFury
 
Where is group owner?
 
11:38 AM
hi i'm new.
 
dont know
 
@ThomasEaso ok..welcome
 
user3295818
Anybody worked with pusher iniOS swift3?
 
you can use their quickstart guide right ??
https://pusher.com/docs/ios_quick_start
@raghunath
 
 
1 hour later…
user3295818
12:51 PM
@ThomasEaso any sample app in github?
 
user3295818
One i took from github it was not working
 
It's not showing owner name in list :O
 
1:23 PM
Can anyone help me with inapp purchase. This alert is annoying me alot. I can understand its coming because of requesting the products but how can i mute this or clear the pending transactions. Even i enabled SKPaymentQueue.default().finishTransaction(transaction) but it does not help me
 
user3295818
@iTag @chaaruu anybody worked with pusher?
 
Good morning.
 
you mean pusherTest? like sending pushes through MAC app with help of Certificate or P12 or pem rite
@raghunath
 
What's a good reference starting Swift Programming from scratch? I have now 'Welcome to Xcode Version 8.3.3 ), and would like to start to learn the language.
 
Nowadays am crying inside.. because of fucking issues..
Bugs are coming but i could not able to get clue or solid guts
:(
 
1:31 PM
Good evening
 
user3295818
2:32 PM
@iTag no......For automatic push using socket.....
 
3:11 PM
hi guys
did any one worked with opencv on android
 
3:24 PM
@Amal @nyconing knows about openCV
 
can you give me his mail
 
@Amal i don't have her email but you can ping here or find in another room
 
4:05 PM
posted on August 16, 2017 by Android Developers

Posted by Adriana Puchianu, Developer Marketing, Google Play Based in the UK, Playdemic is a free-to-play mobile games developer. Their leading game Golf Clash is designed to provide a short and fun, competitive experience. It uses a simple and accessible game mechanics based on one-thumb gaming which has generated substantial user engagement, with an average of 44 minutes played over three s

 

« first day (1610 days earlier)      last day (2373 days later) »