luckybilly / luckybilly/SmartSwipe

requestWindowFeature 和库冲突

Open
#63 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.1k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

### 问题描述
super.onCreate(savedInstanceState) 后面调用requestWindowFeature()崩溃
请描述您遇到的问题
Window feature must be requested before adding content
- 预期行为:
不崩溃
- 实际行为:
崩溃 ,应该是这里冲突了 自己写的代码部分还好 ,第三方如果调用了requestWindowFeature就尴尬了 ,大佬看空了能不能修复哈

![屏幕截图 2020-03-09 下午03 41 23](https://user-images.githubusercontent.com/14065751/76192418-b8f6a680-621c-11ea-9775-b77ab7df7c5b.jpg)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported Android crash around super.onCreate(savedInstanceState) and requestWindowFeature(), using the Window feature must be requested before adding content message and linked screenshot. Trace the library's activity/content setup and any third-party requestWindowFeature call; done means the reported sequence no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.