These are chat archives for dronekit/dronekit-android

Jan 2016
Jan 18 2016 14:05

@chaviw it's error

Do you have some example ? for instanceof Circle

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