recreate Questions

4

I would like to put a transition on activity recreate() after changing theme, is it possible? I tried: @android:anim/fade_in @android:anim/fade_out but it didn't work, and that will also affect th...
Vineland asked 8/2, 2017 at 18:3

9

Solved

We are using Fragments and we don't need them to be automatically recovered when the Activity is recreated. But Android every time when Activity::onCreate(Bundle savedInstanceState) -> super.onCrea...

2

Solved

I'm using TextInputLayout. I set it's hint from string.xml to apply localization. So after changing the language from the drop down I use recreate() method which refreshes the whole activity compon...

2

Solved

I had created a docker MySql 5.7 image, and then wanted to change a couple of names. My docker-compose.yml file ended up like so version: '3.3' services: db: image: mysql:5.7 restart: always ...
Lalla asked 28/1, 2020 at 23:23

2

Solved

I have an activity that listens to preference changes and reloads the app. I am using recreate() to do that. But I don't know how to pass in arguments through that, so I have resorted to manual act...
Boswell asked 4/8, 2016 at 3:15

1

I've been using Android's overridePendingTransition method to animate my activity page transitions with great success. Example shown startActivity(new Intent(GetTagActivity.this, MainActivity.clas...
Cienfuegos asked 10/2, 2017 at 23:12

2

Solved

I have an android studio project. When I am rotating screen, android destroys and recreates main activity. How can I check during the destruction, if android going to recreate activity?
Delphinium asked 14/7, 2019 at 10:24

1

Solved

I have an Activity say ActivityMain from this activity I moved to another activity called ActivitySettings and in settings activity I'm changing the App locale by clicking on a button, and using re...
Gingery asked 29/6, 2018 at 8:21

1

I'm trying to recreate the images that I have uploaded using the following in my model... Post.all.each do |ym| ym.avatar.cache_stored_file! ym.avatar.retrieve_from_cache!(ym.avatar.cache_nam...
Undercast asked 15/4, 2013 at 23:32

3

Solved

I'm a newbie to programming in Android, and I just tried to run my build and got this message Execution failed for task ':app:validateDebugSigning'. > Unable to recreate missing debug keystore....
Lighterman asked 28/1, 2014 at 19:38

1

Solved

My Android App has a SQLite Database and a Content Provider. This Content Provider is registered in the app's AndroidManifest.xml. It is not exported, so only my app can see it. As part of resetti...
Cordie asked 25/11, 2016 at 0:22

3

Solved

I have a main activity (let's call it A) and a second activity (let's call it B) which's used to change the language of the app. The point is, when I click the button to change the language I also ...
Triviality asked 17/3, 2015 at 18:2

6

Solved

I have table on MySQL server and would like to get the SQL that would re-create the table. How do I get the query to recreate the SQL table?
Scornik asked 8/8, 2011 at 14:6
1

© 2022 - 2024 — McMap. All rights reserved.