Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

How do you delete an outline in Android?

More
11 years 6 months ago #8586 by gtoldosProton
I have this code inside a method.... outline.RemoveFromDoc(); works in the beggining but after several times it gives me a
02-26 17:14:43.098: A/libc(5454): Fatal signal 11 (SIGSEGV) at 0x00000010 (code=1), thread 5454 (com.xxxxxx)

This is kind of the same problems I have found with iOS.... and that hopefully will be fixed in the version you just released.
@Override
public void onRemove(int outlineIndex) {
Outline outline = mBookmarkFragment.getOutline(outlineIndex);
if (outline != null) {
outline.RemoveFromDoc();
refreshOutLines();
}
}
};

thanks for your attention and good support
More
11 years 6 months ago - 11 years 6 months ago #8594 by radaee
seems no method mBookmarkFragment.getOutline(outlineIndex);
if u stored outlines in an array:
remove Outline object element at array.
and then modified all index value for all outlines in array.
example: 10 outlines, u removed index at 5, outline 6 to be 5, 7 to be 6 and so on.
Last edit: 11 years 6 months ago by radaee.
More
11 years 6 months ago #8595 by radaee
others: remove parent Outline, shall cause all children not aviable.
Time to create page: 0.387 seconds
Powered by Kunena Forum