Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F15187304
ResultBaseFragment.java
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Unknown
Size
864 B
Referenced Files
None
Subscribers
None
ResultBaseFragment.java
View Options
package
it.reyboz.bustorino.fragments
;
import
android.content.Context
;
import
androidx.annotation.NonNull
;
public
abstract
class
ResultBaseFragment
extends
ScreenBaseFragment
{
protected
FragmentListenerMain
mListener
;
protected
static
final
String
MESSAGE_TEXT_VIEW
=
"message_text_view"
;
public
ResultBaseFragment
()
{
}
@Override
public
void
onAttach
(
@NonNull
Context
context
)
{
super
.
onAttach
(
context
);
if
(
context
instanceof
FragmentListenerMain
)
{
mListener
=
(
FragmentListenerMain
)
context
;
}
else
{
throw
new
RuntimeException
(
context
.
toString
()
+
" must implement FragmentListenerMain"
);
}
}
@Override
public
void
onDetach
()
{
mListener
.
showFloatingActionButton
(
false
);
mListener
=
null
;
super
.
onDetach
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Thu, Nov 19, 09:47 (12 m, 38 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2265697
Default Alt Text
ResultBaseFragment.java (864 B)
Attached To
Mode
R4 Libre BusTO
Attached
Detach File
Event Timeline