Update lib
This commit is contained in:
parent
8e72c4e22e
commit
78e1363db0
|
@ -58,7 +58,7 @@ allprojects {
|
|||
ext.supportLibraryVersion = '29.0.2'
|
||||
ext.glideLibraryVersion = '4.9.0'
|
||||
ext.conscryptLibraryVersion = '2.2.1'
|
||||
ext.evernoteLibraryVersion = '1.3.0-rc1'
|
||||
ext.evernoteLibraryVersion = '1.4.2'
|
||||
ext.gsonLibraryVersion = '2.8.2'
|
||||
ext.guavaLibraryVersion = '24.1-android'
|
||||
ext.photoViewLibraryVersion = '2.3.0'
|
||||
|
|
|
@ -37,6 +37,7 @@ import androidx.recyclerview.widget.RecyclerView;
|
|||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.inputmethod.InputMethodManager;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
@ -412,6 +413,12 @@ public class DisplayStatusFragment extends Fragment implements OnRetrieveFeedsIn
|
|||
editor.putString(Helper.LAST_READ_TOOT_DATE + userId + instance, Helper.dateToString(lastReadTootDate));
|
||||
editor.apply();
|
||||
}
|
||||
if( getActivity() != null) {
|
||||
InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
if( imm != null && getView() != null) {
|
||||
imm.hideSoftInputFromWindow(getView().getWindowToken(), 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue