Questions

When using GLTextureView on Android 4.4 API 19, there are a few issues. The same issue does not occur on API 27. Have not tested other API levels. If you do not use GLTextureView, this issue doesn’t happen (but due to theming bugs I have to use GLTextureView and not the other 2 types of render surfaces).

If activity A has a SciChartSurface and activity B has a SciChartSurface and appears above activity A, then the surface in A dissapears (Shows blank) when you return to it. 100% repro for me. Let me know if you need more info.

Due to 1? If you try to re-render the chart on activity A, it will lead to an ANR (app freezes indefinitely) after a few times (see below)

Even if you don’t have activity B and only activity A, if you interact with it a few times and show/hide it, it will lead to an ANR (app freezes indefinitely) as well (see below):

Hi Mike. Can you provide a project which reproduces this issue – I’ve tried to reproduce this issue in our demo application using step 3 ( I replaced default render surface on GLTextureView for all examples ) but I couldn’t get ANR. Thanks in advance.

Here’s a way to repro: 1. Start an emulator running Android 4.4 API 19. 2. Open BandChartFragment in the demo project (version 2.2.0.2324). 3. Add ‘surface.setRenderSurface(new GLTextureView(getActivity()));’ as the first line in initExample: public class BandChartFragment extends ExampleBaseFragment {
@BindView(R.id.chart)
SciChartSurface surface; @Override
protected int getLayoutId() {
return R.layout.example_single_chart_fragment;
} @Override
protected void initExample() {
surface.setRenderSurface(new GLTextureView(getActivity())); final IAxis xAxis = sciChartBuilder.newNumericAxis().withVisibleRange(1.1, 2.7).build();
final IAxis yAxis = sciChartBuilder.newNumericAxis().withGrowBy(0.1, 0.1).build();
4. Run the project, go into the Band Chart, tap the chart a few times, hit back, then go back into the Band Chart, and notice the app freezes until an ANR comes up. I will upload a video soon.