These are chat archives for dronekit/dronekit-android

18th
Jan 2016
tongzahub
@tongzahub
Jan 18 2016 14:05

@chaviw it's error

http://www.mx7.com/i/b09/HVbw25.jpg

Do you have some example ? for instanceof Circle

chaviw
@chaviw
Jan 18 2016 16:52
@tongzahub This is a general java issue again. The variable i is defined by your code. I was giving an example if you looped through the items using i. Basically, you just need to check each MissionItemProxy to see if is an instance of one of the MissionItem types that you’re looking for. The way you loop through them is up to you