Comments (2)
Hello, thank you for your attention, because you need to listen to the return key to recover the page, so provides an interface keyBack, you can use it
SetKeyCallBack (KeyCallBack new) {
@OverRide
Boolean onKeyDown public (keyCode int, event KeyEvent) {
False return;
}
});
from fragmentstack.
Thank you for your response just if possible can you elaborate the interface for how to implement it. As i am creating root activity from that opening a fragment and from that fragment opening new fragment and as on system backpressed i m returning to previous fragment and again on back pressed i want to display a dialog. In short i want to display over last fragment when user press system back button
from fragmentstack.
Related Issues (12)
- 为什么RootActivity的onkeydown 不能继承 HOT 1
- gradel error HOT 3
- 跳轉多次fragment后,按back返回不到主頁面(fragment無限loop) HOT 3
- 页面状态不保存
- 页面状态不保存
- 页面切换时,偶现异常
- compile 的位置不对 HOT 1
- demo随便点点,出现叠加的情况, HOT 1
- 很崩溃
- Demo包括我自己项目用了这框架,点击clone()会白屏 HOT 1
- ids后面不能赋值为false HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fragmentstack.