How to make a splash screen (screen visible when app starts)?

后端 未结 2 706
没有蜡笔的小新
没有蜡笔的小新 2020-12-13 01:15

I have a simple application, it starts, loads xml feed from the net, you can browse a list of news and then read details for a chosen news item. What I would like to do is h

2条回答
  •  时光说笑
    2020-12-13 01:34

    I know this is old but for those of you who are still facing this problem, you can use this simple android-splash library to show your splash screen.

    SplashBuilder
            .with(this, savedInstanceState)
            .show();
    

    You can set SplashTask that will execute while the splash screen is displayed.

提交回复
热议问题