2014-12-01 18:56:31 +01:00
|
|
|
/*
|
|
|
|
* This is the source code of Telegram for Android v. 2.0.x.
|
|
|
|
* It is licensed under GNU GPL v. 2 or later.
|
|
|
|
* You should have received a copy of the license in this archive (see LICENSE).
|
|
|
|
*
|
2019-01-23 18:03:33 +01:00
|
|
|
* Copyright Nikolai Kudashov, 2013-2018.
|
2014-12-01 18:56:31 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
package org.telegram.ui.Components;
|
|
|
|
|
|
|
|
import android.content.Context;
|
|
|
|
import android.os.Bundle;
|
|
|
|
import android.widget.LinearLayout;
|
|
|
|
|
|
|
|
public class SlideView extends LinearLayout {
|
|
|
|
|
|
|
|
public SlideView(Context context) {
|
|
|
|
super(context);
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getHeaderName() {
|
|
|
|
return "";
|
|
|
|
}
|
|
|
|
|
2017-03-31 01:58:05 +02:00
|
|
|
public void setParams(Bundle params, boolean restore) {
|
2014-12-01 18:56:31 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-01-23 18:03:33 +01:00
|
|
|
public boolean onBackPressed(boolean force) {
|
|
|
|
return true;
|
2014-12-01 18:56:31 +01:00
|
|
|
}
|
|
|
|
|
2022-03-11 17:49:54 +01:00
|
|
|
public void onShow() {}
|
2014-12-01 18:56:31 +01:00
|
|
|
|
2022-03-11 17:49:54 +01:00
|
|
|
public void onHide() {}
|
|
|
|
|
|
|
|
public void updateColors() {}
|
|
|
|
|
|
|
|
public boolean hasCustomKeyboard() {
|
|
|
|
return false;
|
2014-12-01 18:56:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public void onDestroyActivity() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2021-12-07 14:02:02 +01:00
|
|
|
public void onNextPressed(String code) {
|
2014-12-01 18:56:31 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2017-12-08 18:35:59 +01:00
|
|
|
public void onCancelPressed() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-12-01 18:56:31 +01:00
|
|
|
public void saveStateParams(Bundle bundle) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public void restoreStateParams(Bundle bundle) {
|
|
|
|
|
|
|
|
}
|
2015-04-09 20:00:14 +02:00
|
|
|
|
|
|
|
public boolean needBackButton() {
|
|
|
|
return false;
|
|
|
|
}
|
2014-12-01 18:56:31 +01:00
|
|
|
}
|