com.koolearn.klibrary.ui.android.view.ZLAndroidCurlWidget类的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(121)

本文整理了Java中com.koolearn.klibrary.ui.android.view.ZLAndroidCurlWidget类的一些代码示例,展示了ZLAndroidCurlWidget类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZLAndroidCurlWidget类的具体详情如下:
包路径:com.koolearn.klibrary.ui.android.view.ZLAndroidCurlWidget
类名称:ZLAndroidCurlWidget

ZLAndroidCurlWidget介绍

暂无

代码示例

代码示例来源:origin: Jiangzqts/EpubRead

public ZLAndroidCurlWidget(Context context, AttributeSet attrs) {
  super(context, attrs);
  mySystemInfo = Paths.systemInfo(context);
  init();
}

代码示例来源:origin: ydcx/KooReader

private void init() {
  ourImplementation = this;
  // next line prevent ignoring first onKeyDown DPad event
  // after any dialog was closed
  setFocusableInTouchMode(true);
  setDrawingCacheEnabled(false);
}

代码示例来源:origin: ydcx/KooReader

@Override
  public void onSizeChanged(int width, int height) {
    myCurlView.setMargins(0, 0, 0, 0);
    myCurlView.setViewMode(CurlView.SHOW_ONE_PAGE);
  }
});

代码示例来源:origin: Jiangzqts/EpubRead

@Override
protected void onPause() {
  IsPaused = true;
  if (myCurlView != null && myCurlView.getVisibility() == View.VISIBLE) {
    myCurlView.onPause();
  }
  try {
    unregisterReceiver(myBatteryInfoReceiver);
  } catch (IllegalArgumentException e) {
  }
  myKooReaderApp.stopTimer();
  myKooReaderApp.onWindowClosing();
  super.onPause();
}

代码示例来源:origin: Jiangzqts/EpubRead

myMainView = (ZLAndroidWidget) findViewById(R.id.main_view);
myCurlView = (ZLAndroidCurlWidget) findViewById(R.id.curl_view);
myCurlView.setMargins(0, 0, 0, 0);
myCurlView.setSizeChangedObserver(new CurlView.SizeChangedObserver() {
  @Override
  public void onSizeChanged(int width, int height) {

代码示例来源:origin: ydcx/KooReader

public CurlPageProviderImpl(BitmapManager bitmapManager) {
  super(bitmapManager);
  curlView = ZLAndroidCurlWidget.Instance();
  curlView.setPageProvider(this);
  curlView.setViewMode(CurlView.SHOW_ONE_PAGE);
}

代码示例来源:origin: ydcx/KooReader

super.onResume();
if (myCurlView != null) {   // && 显示
  myCurlView.onResume();

代码示例来源:origin: ydcx/KooReader

@Override
protected void onPause() {
  IsPaused = true;
  if (myCurlView != null && myCurlView.getVisibility() == View.VISIBLE) {
    myCurlView.onPause();
  }
  try {
    unregisterReceiver(myBatteryInfoReceiver);
  } catch (IllegalArgumentException e) {
  }
  myKooReaderApp.stopTimer();
  myKooReaderApp.onWindowClosing();
  super.onPause();
}

代码示例来源:origin: ydcx/KooReader

myMainView = (ZLAndroidWidget) findViewById(R.id.main_view);
myCurlView = (ZLAndroidCurlWidget) findViewById(R.id.curl_view);
myCurlView.setMargins(0, 0, 0, 0);
myCurlView.setSizeChangedObserver(new CurlView.SizeChangedObserver() {
  @Override
  public void onSizeChanged(int width, int height) {

代码示例来源:origin: Jiangzqts/EpubRead

public CurlPageProviderImpl(BitmapManager bitmapManager) {
  super(bitmapManager);
  curlView = ZLAndroidCurlWidget.Instance();
  curlView.setPageProvider(this);
  curlView.setViewMode(CurlView.SHOW_ONE_PAGE);
}

代码示例来源:origin: Jiangzqts/EpubRead

super.onResume();
if (myCurlView != null) {   // && 显示
  myCurlView.onResume();

代码示例来源:origin: Jiangzqts/EpubRead

private void init() {
  ourImplementation = this;
  // next line prevent ignoring first onKeyDown DPad event
  // after any dialog was closed
  setFocusableInTouchMode(true);
  setDrawingCacheEnabled(false);
}

代码示例来源:origin: Jiangzqts/EpubRead

@Override
  public void onSizeChanged(int width, int height) {
    myCurlView.setMargins(0, 0, 0, 0);
    myCurlView.setViewMode(CurlView.SHOW_ONE_PAGE);
  }
});

代码示例来源:origin: Jiangzqts/EpubRead

public ZLAndroidCurlWidget(Context context) {
  super(context);
  mySystemInfo = Paths.systemInfo(context);
  init();
}

代码示例来源:origin: ydcx/KooReader

public ZLAndroidCurlWidget(Context context, AttributeSet attrs, int defStyle) {
  super(context, attrs, defStyle);
  mySystemInfo = Paths.systemInfo(context); // 缓存相关
  init();
}

代码示例来源:origin: ydcx/KooReader

public ZLAndroidCurlWidget(Context context) {
  super(context);
  mySystemInfo = Paths.systemInfo(context);
  init();
}

代码示例来源:origin: Jiangzqts/EpubRead

public ZLAndroidCurlWidget(Context context, AttributeSet attrs, int defStyle) {
  super(context, attrs, defStyle);
  mySystemInfo = Paths.systemInfo(context); // 缓存相关
  init();
}

代码示例来源:origin: ydcx/KooReader

public ZLAndroidCurlWidget(Context context, AttributeSet attrs) {
  super(context, attrs);
  mySystemInfo = Paths.systemInfo(context);
  init();
}

相关文章